| Methods |
public
|
qbFilters(array $filters = [], mixed $qb = null): QueryBuilder
Application des filtres sur un query builder.
Application des filtres sur un query builder.
|
#
|
public
|
find($id, $lockMode = null, $lockVersion = null): FooBar|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): FooBar|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(): FooBar[]
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): FooBar[]
Finds entities by a set of criteria.
Finds entities by a set of criteria.
Returns
Overrides
|
#
|