getName() public method

public getName ( ) : Expression
return Expression
Esempio n. 1
0
 public function visitField(O\FieldExpression $expression)
 {
     $this->walk($expression->getValue());
     $this->walk($expression->getName());
     $this->addTypeOperation($expression, $this->analysis[$expression->getValue()]->getField($expression));
 }
Esempio n. 2
0
 public function getField(O\FieldExpression $expression)
 {
     if ($field = $this->getFieldByName($expression->getName(), false)) {
         return $field;
     }
     return parent::getField($expression);
 }