| Conditions | 2 |
| Paths | 2 |
| Total Lines | 26 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function toArray() |
||
| 27 | { |
||
| 28 | $options = array_replace_recursive( |
||
| 29 | $this->options, |
||
| 30 | [ |
||
| 31 | 'modules' => [ |
||
| 32 | 110 => 'WebinoDev', |
||
| 33 | 130 => 'AssetManager', |
||
| 34 | ], |
||
| 35 | 'module_listener_options' => [ |
||
| 36 | 'config_cache_enabled' => false, |
||
| 37 | 'module_map_cache_enabled' => false, |
||
| 38 | 'check_dependencies' => true, |
||
| 39 | ], |
||
| 40 | ] |
||
| 41 | ); |
||
| 42 | |||
| 43 | isset($options['webino_debug']) |
||
| 44 | or $options['webino_debug'] = [ |
||
| 45 | 'enabled' => 'cli' !== PHP_SAPI, |
||
| 46 | 'mode' => false, |
||
| 47 | 'bar' => true, |
||
| 48 | ]; |
||
| 49 | |||
| 50 | return $options; |
||
| 51 | } |
||
| 52 | } |
||
| 53 |