public function setChoices(array $choices) { $this->formType = 'choice'; $this->formOptions = array('choices' => $choices); return $this; }