*/ class OustType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('reason', TextType::class, [ 'label' => 'ousted_reason_header', 'constraints' => [new NotBlank(), new Length(max: 255)], ]) ->add('save', SubmitType::class, ['label' => 'ousted_action_oust']); } }