1 | <?php namespace JSONAPI\Resource\Attributes; |
||
2 | |||
3 | use JSONAPI\Resource\Attributes\AbstractFieldAttribute; |
||
4 | use ReflectionMethod; |
||
5 | use ReflectionProperty; |
||
6 | use ReflectionException; |
||
7 | |||
8 | /** |
||
9 | * Attribute used to mark method or property as JSON:API resource attribute. |
||
10 | */ |
||
11 | #[\Attribute( |
||
12 | \Attribute::IS_REPEATABLE | |
||
13 | \Attribute::TARGET_METHOD | |
||
14 | \Attribute::TARGET_PROPERTY | |
||
15 | \Attribute::TARGET_CLASS |
||
16 | )] |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
17 | class Attribute extends AbstractFieldAttribute |
||
18 | { |
||
19 | } |