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\PersistenceCode
public function find($id);