You are here

public function ObjectRepository::find in Zircon Profile 8

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

Finds an object by its primary key / identifier.

Parameters

mixed $id The identifier.:

Return value

object The object.

File

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

Class

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

Namespace

Doctrine\Common\Persistence

Code

public function find($id);