getName() public method

Returns the name of the field.
public getName ( ) : string
return string
Example #1
0
 /**
  * {@inheritdoc}
  */
 public function addGroupBy(FieldDescriptorInterface $fieldDescriptor)
 {
     $this->groupByFields[$fieldDescriptor->getName()] = $fieldDescriptor;
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function compare(FieldDescriptorInterface $other)
 {
     if (!$other instanceof self) {
         return false;
     }
     return $this->getName() === $other->getName() && $this->getType() === $other->getType();
 }