getName() public méthode

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