메소드 |
설명 |
|
__construct ( DocumentManager $dm, ClassMetadata $class ) |
Initializes a new DocumentRepository. |
|
find ( mixed $id ) : object | null |
Find a single document by its identifier |
|
findAll ( ) |
|
|
findBy ( array $criteria, array $orderBy = null, $limit = null, $offset = null ) |
|
|
findMany ( array $ids, null | integer $limit = null, null | integer $offset = null ) : array |
Find Many documents of the given repositories type by id. |
|
findOneBy ( array $criteria ) |
|
|
getClassMetadata ( ) : ClassMetadata |
|
|
getClassName ( ) |
|
|
getDocumentManager ( ) : DocumentManager |
|
|
getDocumentName ( ) : string |
|
|
refresh ( object $document ) : void |
|
|