Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function getActions(\ReflectionClass $class, array $actions): array |
||
17 | { |
||
18 | foreach ($this->getClassAnnotations($class) as $annotation) { |
||
19 | if ($this->isSupported($annotation)) { |
||
20 | /** @var AbstractAction $annotation */ |
||
21 | $actions[random_int(-99999, 99999)]['template'] = $annotation->getTemplate(); |
||
22 | } |
||
23 | } |
||
24 | |||
25 | return $actions; |
||
26 | } |
||
30 |