Bolt\Storage\Repository::queryWith PHP Method

queryWith() public method

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.
public queryWith ( Bolt\Storage\Query\QueryInterface $query ) : array
$query Bolt\Storage\Query\QueryInterface [description]
return array Entity | false
    public function queryWith(QueryInterface $query)
    {
        $this->query($query);
        $queryBuilder = $query->build();
        return $this->findWith($queryBuilder);
    }