| Methods |
public
|
__construct(ManagerRegistry $registry)
|
#
|
public
|
searchBasic(string $term, ?int $limit = 20)
Recherche basique.
|
#
|
public
|
find($id, $lockMode = null, $lockVersion = null): Departement|null
Finds an entity by its primary key / identifier.
Finds an entity by its primary key / identifier.
Parameters
| $id |
The identifier.
|
| $lockVersion |
The lock version.
|
Returns
The entity instance or NULL if the entity can not be found.
Overrides
|
#
|
public
|
findOneBy(array $criteria, array $orderBy = null): Departement|null
Finds a single entity by a set of criteria.
Finds a single entity by a set of criteria.
Parameters
Returns
The entity instance or NULL if the entity can not be found.
Overrides
|
#
|
public
|
findAll(): Departement[]
Finds all entities in the repository.
Finds all entities in the repository.
Returns
Overrides
|
#
|
public
|
findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null): Departement[]
Finds entities by a set of criteria.
Finds entities by a set of criteria.
Returns
Overrides
|
#
|