/** * @param $query * * @return NQLQuery * @throws Exception\SyntaxErrorException */ public function query($query) : NQLQuery { $nqlQuery = NQLQuery::parse(trim($query)); $nqlQuery->setDqlConverter($this->dqlConverter); return $nqlQuery; }