| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | abstract class BaseSystemCollection extends Collection |
||
| 16 | { |
||
| 17 | protected HydeKernelContract $kernel; |
||
| 18 | |||
| 19 | abstract protected function runDiscovery(): self; |
||
| 20 | |||
| 21 | public static function boot(HydeKernelContract $kernel): static |
||
| 22 | { |
||
| 23 | return (new static())->setKernel($kernel)->runDiscovery(); |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function __construct($items = []) |
||
| 29 | } |
||
| 30 | |||
| 31 | protected function setKernel(HydeKernelContract $kernel): static |
||
| 38 |