/** * @param AbstractInput $input * @return $this */ protected function addInput(AbstractInput $input) { $input->setForm($this); $this->inputs[$input->getName()] = $input; return $this; }