Total Complexity | 7 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | trait ManagesHydeKernel |
||
18 | { |
||
19 | public function boot(): void |
||
26 | } |
||
27 | |||
28 | public static function getInstance(): HydeKernel |
||
31 | } |
||
32 | |||
33 | public static function setInstance(HydeKernel $instance): void |
||
34 | { |
||
35 | static::$instance = $instance; |
||
36 | } |
||
37 | |||
38 | public function setBasePath(string $basePath): void |
||
41 | } |
||
42 | |||
43 | public function getBasePath(): string |
||
46 | } |
||
47 | |||
48 | public function setSourceRoot(string $sourceRoot): void |
||
49 | { |
||
50 | $this->sourceRoot = rtrim($sourceRoot, '/\\'); |
||
51 | } |
||
52 | |||
53 | public function getSourceRoot(): string |
||
56 | } |
||
57 | } |
||
58 |