Classes/Domain/Repository/QueueRepository.php
public function findOpen($limit = 999): array
    {
        $queryBuilder = $this->createQuery();

        return (array)$queryBuilder->select('*')
            ->from($this->getTableName())
            ->where($queryBuilder->expr()->eq('call_date', $queryBuilder->createNamedParameter(0)))
            ->setMaxResults($limit)
            ->execute()
            ->fetchAll();
    }
public function findOpen($limit = 999): array
    {
        $queryBuilder = $this->createQuery();

        return (array)$queryBuilder->select('*')
            ->from($this->getTableName())
            ->where($queryBuilder->expr()->eq('call_date', $queryBuilder->createNamedParameter(0)))
            ->setMaxResults($limit)
            ->execute()
            ->fetchAll();
    }
public function findOpen ( $ limit = 999 ) : array { $ queryBuilder = $ this -> createQuery ( ) ; return ( array ) $ queryBuilder -> select ( '*' ) -> from ( $ this -> getTableName ( ) ) -> where ( $ queryBuilder -> expr ( ) -> eq ( 'call_date' , $ queryBuilder -> createNamedParameter ( 0 ) ) ) -> setMaxResults ( $ limit ) -> execute ( ) -> fetchAll ( ) ; }
Find the entries for the worker.

@param int $limit

@return array
Find the entries for the worker .