Neos.Media/Classes/Domain/Repository/ThumbnailRepository.php
public function findAllIterator($configurationHash = null)
    {
        /** @var QueryBuilder $queryBuilder */
        $queryBuilder = $this->entityManager->createQueryBuilder();
        $queryBuilder
            ->select('t')
            ->from($this->getEntityClassName(), 't');
        if ($configurationHash !== null) {
            $queryBuilder
                ->where('t.configurationHash = :configurationHash')
                ->setParameter('configurationHash', $configurationHash);
        }
        return $queryBuilder->getQuery()->iterate();
    }
public function findAllIterator($configurationHash = null)
    {
        /** @var QueryBuilder $queryBuilder */
        $queryBuilder = $this->entityManager->createQueryBuilder();
        $queryBuilder
            ->select('t')
            ->from($this->getEntityClassName(), 't');
        if ($configurationHash !== null) {
            $queryBuilder
                ->where('t.configurationHash = :configurationHash')
                ->setParameter('configurationHash', $configurationHash);
        }
        return $queryBuilder->getQuery()->iterate();
    }
public function findAllIterator ( $ configurationHash = null ) { /** @var QueryBuilder $queryBuilder */ $ queryBuilder = $ this -> entityManager -> createQueryBuilder ( ) ; $ queryBuilder -> select ( 't' ) -> from ( $ this -> getEntityClassName ( ) , 't' ) ; if ( $ configurationHash !== null ) { $ queryBuilder -> where ( 't.configurationHash = :configurationHash' ) -> setParameter ( 'configurationHash' , $ configurationHash ) ; } return $ queryBuilder -> getQuery ( ) -> iterate ( ) ; }
Find all objects and return an IterableResult

@param string $configurationHash Optional filtering by configuration hash (preset)
@return IterableResult
Find all objects and return an IterableResult