@@ 81-85 (lines=5) @@ | ||
78 | //as of laravel>=5.5, optimize command has been deprecated |
|
79 | require $this->root_dir . '/bootstrap/autoload.php'; |
|
80 | } |
|
81 | if (isset($this->base_config['callbacks']['bootstraping'])) { |
|
82 | foreach ($this->base_config['callbacks']['bootstraping'] as $callback) { |
|
83 | $callback($this); |
|
84 | } |
|
85 | } |
|
86 | $this->app = $this->getApp(); |
|
87 | ||
88 | if (isset($this->wrapper_config['environment_path'])) { |
|
@@ 105-109 (lines=5) @@ | ||
102 | $config = $this->app['config']->get('laravoole.base_config', []); |
|
103 | $this->app['config']->set('laravoole.base_config', array_merge($config, $this->base_config)); |
|
104 | ||
105 | if (isset($this->base_config['callbacks']['bootstraped'])) { |
|
106 | foreach ($this->base_config['callbacks']['bootstraped'] as $callback) { |
|
107 | $callback($this); |
|
108 | } |
|
109 | } |
|
110 | $this->events = $this->app['events']; |
|
111 | } |
|
112 |