/**
  * {@inheritdoc}
  */
 public function Type()
 {
     $parent = parent::Type();
     if ($this->readonly) {
         return $parent . ' readonly';
     }
     return $parent;
 }
Exemplo n.º 2
0
 public function Type()
 {
     return parent::Type() . ($this->readonly ? ' readonly' : '');
 }