doctrine getrepository findby

PHP
$em->getRepository('myentitity')
       ->findBy(
           array(
             'field1' =>array( 'value1','value2'),
             'field2' => 'value3'
           )       // $where   
  			      
         );
Source

Also in PHP: