Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
proc
/
212
/
root
/
proc
/
self
/
root
/
proc
/
self
/
root
/
proc
/
70528
/
cwd
/
src
/
Form
/
//proc/212/root/proc/212/root/proc/self/root/proc/self/root/proc/70528/cwd/src/Form/StatusType.php
<?php namespace App\Form; use App\Entity\Status; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class StatusType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('name', TextType::class, [ "label" => "Intitulé" ]) ->add("subject", TextType::class, [ "label" => "Objet (titre)" ]) ->add('emailContent', TextareaType::class, [ "label" => "Contenu de l'email", "required" => false, 'attr' => [ "class" => "tinymce" ] ]) ; } public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([ 'data_class' => Status::class, ]); } }