src/Providers/LaravelServiceProvider.php 1 location
|
@@ 61-69 (lines=9) @@
|
58 |
|
* |
59 |
|
* @return void |
60 |
|
*/ |
61 |
|
public function boot() |
62 |
|
{ |
63 |
|
$this->publishes([ |
64 |
|
__DIR__ . '/../resources/config/responder.php' => config_path('responder.php') |
65 |
|
], 'config'); |
66 |
|
$this->publishes([ |
67 |
|
__DIR__ . '/../resources/lang/en/errors.php' => base_path('resources/lang/en/errors.php') |
68 |
|
], 'lang'); |
69 |
|
} |
70 |
|
} |
src/ResponderServiceProvider.php 1 location
|
@@ 234-245 (lines=12) @@
|
231 |
|
* |
232 |
|
* @return void |
233 |
|
*/ |
234 |
|
protected function bootLaravelApplication() |
235 |
|
{ |
236 |
|
if ($this->app->runningInConsole()) { |
237 |
|
$this->publishes([ |
238 |
|
__DIR__ . '/../resources/config/responder.php' => config_path('responder.php'), |
239 |
|
], 'config'); |
240 |
|
|
241 |
|
$this->publishes([ |
242 |
|
__DIR__ . '/../resources/lang/en/errors.php' => base_path('resources/lang/en/errors.php'), |
243 |
|
], 'lang'); |
244 |
|
} |
245 |
|
} |
246 |
|
|
247 |
|
/** |
248 |
|
* Bootstrap the Lumen application. |