public function getDeliveryExecutionsByStatus($userUri, $status)
    {
        $query = $this->getQueryBuilder()
            ->select("*")
            ->from(self::TABLE_NAME)
            ->where(self::COLUMN_USER_ID . " = :userId")
            ->andWhere(self::COLUMN_STATUS . " = :status")
            ->setParameter("userId", $userUri)
            ->setParameter("status", $status)
        ;

        return array_map(function($row) {
            return $this->parseQueryResult($row);
        }, $query->execute()->fetchAll());
    }
public function getDeliveryExecutionsByStatus($userUri, $status)
    {
        $query = $this->getQueryBuilder()
            ->select("*")
            ->from(self::TABLE_NAME)
            ->where(self::COLUMN_USER_ID . " = :userId")
            ->andWhere(self::COLUMN_STATUS . " = :status")
            ->setParameter("userId", $userUri)
            ->setParameter("status", $status)
        ;

        return array_map(function($row) {
            return $this->parseQueryResult($row);
        }, $query->execute()->fetchAll());
    }
public function getDeliveryExecutionsByStatus ( $ userUri , $ status ) { $ query = $ this -> getQueryBuilder ( ) -> select ( "*" ) -> from ( self :: TABLE_NAME ) -> where ( self :: COLUMN_USER_ID . " = :userId" ) -> andWhere ( self :: COLUMN_STATUS . " = :status" ) -> setParameter ( "userId" , $ userUri ) -> setParameter ( "status" , $ status ) ; return array_map ( function ( $ row ) { return $ this -> parseQueryResult ( $ row ) ; } , $ query -> execute ( ) -> fetchAll ( ) ) ; }
Returns all Delivery Executions of a User with a specific status

@param string $userUri
@param string $status
@return array
Returns all Delivery Executions of a User with a specific status