SchulIT /
idp-exchange-models
| 1 | <?php |
||
| 2 | |||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 3 | namespace SchulIT\IdpExchange\Response; |
||
| 4 | |||
| 5 | use JMS\Serializer\Annotation as Serializer; |
||
| 6 | use Symfony\Component\Validator\Constraints as Assert; |
||
| 7 | |||
| 8 | /** |
||
|
0 ignored issues
–
show
|
|||
| 9 | * @Serializer\Discriminator(field="type", map={"single": "SchulIT\IdpExchange\Response\ValueAttribute", "multiple": "SchulIT\IdpExchange\Response\ValuesAttribute"}) |
||
| 10 | */ |
||
|
0 ignored issues
–
show
|
|||
| 11 | abstract class AbstractAttribute { |
||
|
0 ignored issues
–
show
|
|||
| 12 | /** |
||
|
0 ignored issues
–
show
|
|||
| 13 | * @Serializer\Type("string") |
||
| 14 | * @Assert\NotBlank() |
||
| 15 | */ |
||
| 16 | public $name; |
||
| 17 | } |