Méthode |
Description |
|
__call ( string $method, array $arguments ) : mixed |
Magic call method for repository methods. |
|
__construct ( ) |
Initializes a new Repository. |
|
add ( object $object ) : void |
Adds an object to this repository. |
|
countAll ( ) : integer |
Counts all objects of this repository |
|
createQuery ( ) : Neos\Flow\Persistence\QueryInterface |
Returns a query for objects of this repository |
|
findAll ( ) : Neos\Flow\Persistence\QueryResultInterface |
Returns all objects of this repository |
|
findByIdentifier ( string $identifier ) : object |
Finds an object matching the given identifier. |
|
getEntityClassName ( ) : string |
Returns the classname of the entities this repository is managing. |
|
remove ( object $object ) : void |
Removes an object from this repository. |
|
removeAll ( ) : void |
Removes all objects of this repository as if remove() was called for
all of them. |
|
setDefaultOrderings ( array $defaultOrderings ) : void |
Sets the property names to order results by. Expected like this:
array(
'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING,
'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING
) |
|
update ( object $object ) |
Schedules a modified object for persistence. |
|