getType() public method

Returns the type of the field.
public getType ( ) : string
return string
Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function compare(FieldDescriptorInterface $other)
 {
     if (!$other instanceof self) {
         return false;
     }
     return $this->getName() === $other->getName() && $this->getType() === $other->getType();
 }