You are here

public function ObjectRepository::find in Plug 7

Finds an object by its primary key / identifier.

Parameters

mixed $id The identifier.:

Return value

object The object.

File

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