public function findAll() : array
    {
        $queryBuilder = $this->getQueryBuilder();
        $allRecords = $queryBuilder
            ->select('*')
            ->from($this->table)
            ->execute()->fetchAll();
        return $this->getIndexQueueItemObjectsFromRecords($allRecords);
    }
public function findAll() : array
    {
        $queryBuilder = $this->getQueryBuilder();
        $allRecords = $queryBuilder
            ->select('*')
            ->from($this->table)
            ->execute()->fetchAll();
        return $this->getIndexQueueItemObjectsFromRecords($allRecords);
    }
public function findAll ( ) : array { $ queryBuilder = $ this -> getQueryBuilder ( ) ; $ allRecords = $ queryBuilder -> select ( '*' ) -> from ( $ this -> table ) -> execute ( ) -> fetchAll ( ) ; return $ this -> getIndexQueueItemObjectsFromRecords ( $ allRecords ) ; }
Returns all items in the queue.

@return Item[] all Items from Queue without restrictions
Returns all items in the queue .