add('type') ->add('description'); } /** * {@inheritDoc} * * @throws AccessException */ public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([ 'data_class' => CameraType::class, ]); } /** * {@inheritDoc} */ public function getBlockPrefix(): string { return 'camerabundle_cameratype'; } }