Метод |
Описание |
|
__construct ( XmlEntityManager $xem, ClassMetadata $class ) |
Initializes a new XmlEntityRepository. |
|
clear ( ) |
Clears the repository, causing all managed entities to become detached. |
|
find ( $id, integer $lockMode = LockMode::NONE, integer $lockVersion = null ) : object |
Finds an entity by its identifier. |
|
findAll ( ) : mixed |
Finds all objects in the repository. |
|
findBy ( array $criteria, array $orderBy = null, $limit = null, $offset = null ) : mixed |
Finds objects by a set of criteria. |
|
findOneBy ( array $criteria ) : object |
Finds a single object by a set of criteria. |
|