| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function getActions(\ReflectionClass $class, array $actions): array |
||
| 15 | { |
||
| 16 | foreach ($this->getClassAnnotations($class) as $annotation) { |
||
| 17 | if (!$this->isSupported($annotation)) { |
||
| 18 | continue; |
||
| 19 | } |
||
| 20 | |||
| 21 | $actions[random_int(-99999, 99999)]['template'] = $annotation->template; |
||
| 22 | } |
||
| 23 | |||
| 24 | return $actions; |
||
| 25 | } |
||
| 29 |