symfony_4:doctrine_2:les_entites
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| symfony_4:doctrine_2:les_entites [2022/11/08 09:31] – [Les regexts utiles] Administration | symfony_4:doctrine_2:les_entites [2022/11/14 13:18] (Version actuelle) – [Les regexs utiles] Administration | ||
|---|---|---|---|
| Ligne 137: | Ligne 137: | ||
| </ | </ | ||
| + | ----- | ||
| + | |||
| + | Les entiers | ||
| + | |||
| + | <code PHP> | ||
| + | <?php | ||
| + | use Symfony\Component\Validator\Constraints as Assert; | ||
| + | |||
| + | /** | ||
| + | * @ORM\Column(type=" | ||
| + | * | ||
| + | * @Assert\Regex( | ||
| + | | ||
| + | | ||
| + | | ||
| + | * ) | ||
| + | */ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ----- | ||
| + | |||
| + | Téléphone FR | ||
| + | |||
| + | <code PHP> | ||
| + | <?php | ||
| + | use Symfony\Component\Validator\Constraints as Assert; | ||
| + | |||
| + | /** | ||
| + | * @ORM\Column(type=" | ||
| + | * | ||
| + | * @Assert\Regex( | ||
| + | | ||
| + | | ||
| + | | ||
| + | * ) | ||
| + | */ | ||
| + | </ | ||
| + | |||
| + | ----- | ||
| + | |||
| + | |||
| + | |||
| + | <code PHP> | ||
| + | <?php | ||
| + | use Symfony\Component\Validator\Constraints as Assert; | ||
| + | |||
| + | /** | ||
| + | * @ORM\Column(type=" | ||
| + | * | ||
| + | * @Assert\Regex( | ||
| + | | ||
| + | | ||
| + | | ||
| + | * ) | ||
| + | */ | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Code postal | ||
| + | |||
| + | <code PHP> | ||
| + | <?php | ||
| + | use Symfony\Component\Validator\Constraints as Assert; | ||
| + | |||
| + | /** | ||
| + | * @ORM\Column(type=" | ||
| + | * | ||
| + | * @Assert\Regex( | ||
| + | | ||
| + | | ||
| + | | ||
| + | * ) | ||
| + | */ | ||
| + | </ | ||
| ---- | ---- | ||
symfony_4/doctrine_2/les_entites.1667899915.txt.gz · Dernière modification : (modification externe)
