# Conflicts: # src/EventListener/RequestListener.php # tests/unit/Listener/FillTest.phpmaster
commit
6886244256
@ -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