We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 5 | final class LazyConfig |
||
| 6 | { |
||
| 7 | /** @var \Closure */ |
||
| 8 | private $loader; |
||
| 9 | |||
| 10 | /** @var GlobalVariables */ |
||
| 11 | private $globalVariables; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var callable |
||
| 15 | */ |
||
| 16 | private $onPostLoad = []; |
||
| 17 | |||
| 18 | 79 | private function __construct(\Closure $loader, GlobalVariables $globalVariables = null) |
|
| 23 | |||
| 24 | 79 | public static function create(\Closure $loader, GlobalVariables $globalVariables = null) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | 77 | public function load() |
|
| 42 | |||
| 43 | 77 | public function addPostLoader(callable $postLoader) |
|
| 47 | } |
||
| 48 |