SchulIT /
idp-exchange-models
| 1 | <?php |
||
| 2 | |||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 3 | namespace SchulIT\IdpExchange\Request; |
||
| 4 | |||
| 5 | use JMS\Serializer\Annotation as Serializer; |
||
| 6 | use Symfony\Component\Validator\Constraints as Assert; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Requests information for specific users. |
||
| 10 | */ |
||
|
0 ignored issues
–
show
|
|||
| 11 | class UsersRequest { |
||
|
0 ignored issues
–
show
|
|||
| 12 | /** |
||
| 13 | * List of usernames for which the information is requested. |
||
| 14 | * |
||
| 15 | * @Serializer\Type("array<string>") |
||
| 16 | * @Assert\Count(min="1") |
||
| 17 | * @var string[] |
||
|
0 ignored issues
–
show
|
|||
| 18 | */ |
||
| 19 | public $usernames = [ ]; |
||
| 20 | } |