public function getChoices() { $choices = parent::getChoices(); if ($this->getOption('add_empty') !== false) { return array_merge(array('' => ''), $choices); } return $choices; }