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