/** * @return FormConfig */ public function getFormConfig() { if (empty($this->formConfig)) { $this->formConfig = $this->createFormConfig(); $this->formConfig->finish(); } return $this->formConfig; }
/** * @return FormConfig */ protected function createFormConfig() { return FormConfig::create($this->model, $this); }