public __construct ( Doctrine\ORM\Query $query ) | ||
$query | Doctrine\ORM\Query | The Query to parse. |
public function __construct(Query $query)
{
$this->_query = $query;
$this->_em = $query->getEntityManager();
$this->_lexer = new Lexer($query->getDql());
$this->_parserResult = new ParserResult();
}