public findByIdentifier ( string $identifier ) : object | ||
$identifier | string | The identifier of the object to find |
return | object | The matching object if found, otherwise NULL |
public function findByIdentifier($identifier)
{
return $this->persistenceManager->getObjectByIdentifier($identifier, $this->entityClassName);
}