Total Complexity | 8 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)] |
||
12 | final class Type implements SerializerAttribute |
||
13 | { |
||
14 | use AnnotationUtilsTrait; |
||
15 | |||
16 | /** |
||
17 | * @Required |
||
18 | * @var string|\Stringable|null |
||
19 | */ |
||
20 | public $name = null; |
||
21 | |||
22 | public function __construct($values = [], $name = null) |
||
47 |