Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class Gacela |
||
14 | { |
||
15 | /** |
||
16 | * Define the entry point of Gacela. |
||
17 | * |
||
18 | * @param null|SetupGacelaInterface|callable(GacelaConfig):void $configFn SetupGacelaInterface is deprecated |
||
19 | */ |
||
20 | 25 | public static function bootstrap(string $appRootDir, $configFn = null): void |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param null|SetupGacelaInterface|callable(GacelaConfig):void $configFn |
||
40 | */ |
||
41 | 25 | private static function normalizeSetup($configFn): SetupGacelaInterface |
|
54 |