| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class FrostFactory |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Simple convenience factory which can be overloaded or used with defaults |
||
| 21 | * |
||
| 22 | * @param string $env |
||
| 23 | * @param SettingsInterface|null $settings |
||
| 24 | * @param HttpInterface|null $http |
||
| 25 | * |
||
| 26 | * @return FrostController |
||
| 27 | */ |
||
| 28 | 1 | public function api(string $env = '.env', SettingsInterface $settings = null, HttpInterface $http = null): FrostController |
|
| 39 |