« Programmation PHP avec Symfony/Formulaire » : différence entre les versions

Contenu supprimé Contenu ajouté
DannyS712 (discussion | contributions)
m <source> -> <syntaxhighlight> (phab:T237267)
Ligne 100 :
use Symfony\Component\Validator\Constraints as Assert;
...
/**
* @Assert\NotBlank
* @Assert\Type("string")
*/
</syntaxhighlight>