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