public function queryWith(QueryInterface $query)
    {
        $this->query($query);
        $queryBuilder = $query->build();

        return $this->findWith($queryBuilder);
    }
public function queryWith(QueryInterface $query)
    {
        $this->query($query);
        $queryBuilder = $query->build();

        return $this->findWith($queryBuilder);
    }
public function queryWith ( QueryInterface $ query ) { $ this -> query ( $ query ) ; $ queryBuilder = $ query -> build ( ) ; return $ this -> findWith ( $ queryBuilder ) ; }
Method to execute query from a Bolt QueryInterface object
The query is passed to the pre-load handlers then built into a
QueryBuilder instance that can be executed.

@param QueryInterface $query [description]

@return array Entity | false
Method to execute query from a Bolt QueryInterface object The query is passed to the pre - load handlers then built into a QueryBuilder instance that can be executed .