parent
36d4a935b2
commit
87c31135cd
@ -0,0 +1,14 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
namespace Rinsvent\RequestBundle\Tests\unit\Listener\fixtures\FillTest; |
||||||
|
|
||||||
|
use Symfony\Component\Validator\Constraints as Assert; |
||||||
|
|
||||||
|
class BuyRequest |
||||||
|
{ |
||||||
|
#[Assert\NotBlank] |
||||||
|
public string $surname; |
||||||
|
public int $age; |
||||||
|
#[Assert\Email] |
||||||
|
public string $email; |
||||||
|
} |
Loading…
Reference in new issue