1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace SchulIT\IdpExchange\Request; |
||
4 | |||
5 | use JMS\Serializer\Annotation as Serializer; |
||
6 | use Symfony\Component\Validator\Constraints as Assert; |
||
7 | |||
8 | /** |
||
9 | * Represents a request for users which has been updated since a specific date. |
||
10 | */ |
||
0 ignored issues
–
show
|
|||
11 | class UpdatedUsersRequest { |
||
0 ignored issues
–
show
|
|||
12 | /** |
||
13 | * List of usernames which are checked for any updates. |
||
14 | * |
||
15 | * @Serializer\Type("array<string>") |
||
16 | * @Assert\Count(min="1") |
||
17 | */ |
||
18 | public $usernames = [ ]; |
||
19 | |||
20 | /** |
||
0 ignored issues
–
show
|
|||
21 | * @Serializer\Type("DateTime") |
||
22 | * @Assert\NotNull() |
||
23 | */ |
||
24 | public $since = null; |
||
25 | } |