You are here

public function ObjectRepository::findOneBy in Plug 7

Finds a single object by a set of criteria.

Parameters

array $criteria The criteria.:

Return value

object The object.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/ObjectRepository.php, line 73

Class

ObjectRepository
Contract for a Doctrine persistence layer ObjectRepository class to implement.

Namespace

Doctrine\Common\Persistence

Code

public function findOneBy(array $criteria);