/** * Returns calculator select element * * @param FormInterface $form * * @return \WellCommerce\Bundle\FormBundle\Elements\Optioned\Select */ private function getCalculatorTypeElement(FormInterface $form) { return $form->getChildren()->get('costs_data')->getChildren()->get('calculator'); }
/** * @param FormInterface $form * * @return \WellCommerce\Bundle\FormBundle\Elements\Optioned\Select */ protected function getBoxTypeSelect(FormInterface $form) { return $form->getChildren()->get('required_data')->getChildren()->get('boxType'); }