Doctrine\ORM\Query\Parser::SimpleEntityExpression PHP Method

SimpleEntityExpression() public method

SimpleEntityExpression ::= IdentificationVariable | InputParameter
public SimpleEntityExpression ( ) : string
return string | \Doctrine\ORM\Query\AST\InputParameter
    public function SimpleEntityExpression()
    {
        if ($this->_lexer->isNextToken(Lexer::T_INPUT_PARAMETER)) {
            return $this->InputParameter();
        }

        return $this->IdentificationVariable();
    }
Parser