public findByIdentifier ( mixed $identifier ) : object | ||
$identifier | mixed | The identifier of the object to find |
Résultat | object | The matching object if found, otherwise NULL |
public function findByIdentifier($identifier)
{
return $this->entityManager->find($this->objectType, $identifier);
}