lib/Persistence/Doctrine/QueryHandler/LayoutQueryHandler.php
public function loadLayoutData($layoutId, int $status): array
    {
        $query = $this->getLayoutSelectQuery();
        $query->where(
            $query->expr()->eq('l.id', ':id')
        )
        ->setParameter('id', $layoutId, Type::INTEGER);

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

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

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

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

@param int|string $layoutId
@param int $status

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