create()
create() : mixed
Creates an empty object instance.
find(mixed $id, integer $lockMode = \Doctrine\DBAL\LockMode::NONE, integer|null $lockVersion = null) : object|null
Finds an entity by its primary key / identifier.
mixed | $id | The identifier. |
integer | $lockMode | The lock mode. |
integer|null | $lockVersion | The lock version. |
The entity instance or NULL if the entity can not be found.