Neos\Flow\Persistence\Repository::findAll PHP Méthode

findAll() public méthode

Returns all objects of this repository
See also: QueryInterface::execute()
public findAll ( ) : Neos\Flow\Persistence\QueryResultInterface
Résultat Neos\Flow\Persistence\QueryResultInterface The query result
    public function findAll()
    {
        return $this->createQuery()->execute();
    }

Usage Example

 public function findAll()
 {
     $result = parent::findAll();
     foreach ($result as $instance) {
         $instance->setContent($instance->getContent() . ' - touched by SubSubEntityRepository');
     }
     return $result;
 }