1 | <?php |
||
15 | class Validation implements RestAnnotationInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $groups; |
||
21 | |||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | private $violationPathMap; |
||
26 | |||
27 | /** |
||
28 | * @var bool |
||
29 | */ |
||
30 | private $enabled; |
||
31 | |||
32 | 96 | public function __construct(array $options) |
|
38 | |||
39 | 96 | private function setGroups(array $groups): self |
|
44 | |||
45 | 96 | private function setViolationPathMap(array $violationPathMap): self |
|
50 | |||
51 | 96 | private function setEnabled(bool $enabled): self |
|
56 | |||
57 | 96 | public function isSeveralSupported(): bool |
|
61 | |||
62 | 96 | public function apply(RestRequestOptions $options, ReflectionMethodWrapper $reflectionMethod) |
|
75 | } |
||
76 |