You are here

public function ObjectRepository::findOneBy in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectRepository.php \Doctrine\Common\Persistence\ObjectRepository::findOneBy()

Finds a single object by a set of criteria.

Parameters

array $criteria The criteria.:

Return value

object The object.

File

vendor/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);