Total Complexity | 9 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 76.19% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class callback |
||
12 | { |
||
13 | private $validation; |
||
14 | |||
15 | 19 | public function __construct(array $validation) |
|
18 | 19 | } |
|
19 | |||
20 | 8 | public function validate($payload, ExecutionContextInterface $context) |
|
32 | } |
||
33 | } |
||
34 | } |
||
35 | } |
||
36 | 8 | } |
|
37 | |||
38 | /** |
||
39 | * @param container|array $container |
||
40 | * @return array |
||
41 | */ |
||
42 | 8 | private function to_array($container) : array |
|
57 |