doctrine findby criteria code example Example: doctrine findby criteria $result = $purchases_repository->findBy(array("prize" => ">200"));