/** * {@inheritDoc} */ public function getAttributes() { return array_merge(parent::getAttributes(), array('maxlength' => $this->getOption('max_length'))); }
/** * {@inheritDoc} */ public function getAttributes() { return array_merge(parent::getAttributes(), array('type' => 'hidden')); }