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