1 <?php
2
3 namespace Balance\Form\Element;
4
5 use Zend\Form\Element\Select as ZendSelect;
6
7 /**
8 * Seletor Especializado
9 */
10 class Select extends ZendSelect
11 {
12 /**
13 * {@inheritdoc}
14 */
15 public function getEmptyOption()
16 {
17 $option = parent::getEmptyOption();
18 if (! isset($option)) {
19 $option = '-- Selecione --';
20 $this->setEmptyOption($option);
21 }
22 return $option;
23 }
24 }
25