Commit 289ce472 authored by beberlei's avatar beberlei

[2.0] DDC-492 - Allow access to ParserResult and Query in TreeWalkerAdapter

parent 304cc2e0
......@@ -43,11 +43,34 @@ abstract class TreeWalkerAdapter implements TreeWalker
$this->_parserResult = $parserResult;
$this->_queryComponents = $queryComponents;
}
/**
* @return array
*/
protected function _getQueryComponents()
{
return $this->_queryComponents;
}
/**
* Retrieve Query Instance reponsible for the current walkers execution.
*
* @return Doctrine\ORM\Query
*/
protected function _getQuery()
{
return $this->_query;
}
/**
* Retrieve ParserResult
*
* @return Doctrine\ORM\Query\ParserResult
*/
protected function _getParserResult()
{
return $this->_parserResult;
}
/**
* Walks down a SelectStatement AST node, thereby generating the appropriate SQL.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment