| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | private function filterAdminClasses(array $classes): array |
||
| 27 | { |
||
| 28 | $adminClasses = []; |
||
| 29 | foreach ($classes as $className) { |
||
| 30 | $classImplements = class_implements($className); |
||
| 31 | if (in_array(Element::class, $classImplements, true)) { |
||
| 32 | $adminClasses[] = $className; |
||
| 33 | } |
||
| 34 | } |
||
| 35 | |||
| 36 | return $adminClasses; |
||
| 37 | } |
||
| 65 |