| Total Complexity | 3 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class DatabaselessKernel extends BaseKernel |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Indicates whether the Kernel has been flushed on boot |
||
| 19 | * Uninitialised before boot |
||
| 20 | * |
||
| 21 | * @var bool |
||
| 22 | */ |
||
| 23 | private $flush; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Allows disabling of the configured error handling. |
||
| 27 | * This can be useful to ensure the execution context (e.g. composer) |
||
| 28 | * can consistently use its own error handling. |
||
| 29 | * |
||
| 30 | * @var boolean |
||
| 31 | */ |
||
| 32 | protected $bootErrorHandling = true; |
||
| 33 | |||
| 34 | public function setBootErrorHandling(bool $bool) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param false $flush |
||
| 42 | * @throws Exception |
||
| 43 | */ |
||
| 44 | public function boot($flush = false) |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return bool |
||
| 58 | */ |
||
| 59 | public function isFlushed() |
||
| 64 |