lib/Persistence/Doctrine/QueryHandler/CollectionQueryHandler.php
public function loadCollectionData($collectionId, int $status): array
    {
        $query = $this->getCollectionSelectQuery();
        $query->where(
            $query->expr()->eq('c.id', ':id')
        )
        ->setParameter('id', $collectionId, Type::INTEGER);

        $this->applyStatusCondition($query, $status, 'c.status');

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadCollectionData($collectionId, int $status): array
    {
        $query = $this->getCollectionSelectQuery();
        $query->where(
            $query->expr()->eq('c.id', ':id')
        )
        ->setParameter('id', $collectionId, Type::INTEGER);

        $this->applyStatusCondition($query, $status, 'c.status');

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadCollectionData ( $ collectionId , int $ status ) : array { $ query = $ this -> getCollectionSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> eq ( 'c.id' , ':id' ) ) -> setParameter ( 'id' , $ collectionId , Type :: INTEGER ) ; $ this -> applyStatusCondition ( $ query , $ status , 'c.status' ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Loads all collection data for collection with specified ID.

@param int|string $collectionId
@param int $status

@return array
Loads all collection data for collection with specified ID .