public function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults(['choices' => array_flip($this->calculators)]); }