Skip to content

Commit 2bc2dd2

Browse files
committed
Automatically configure the API configuration for Lumen installs before merging the package configuration.
Signed-off-by: Jason Lewis <[email protected]>
1 parent 52728a0 commit 2bc2dd2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Provider/LumenServiceProvider.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ public function boot()
2525
]);
2626
}
2727

28+
/**
29+
* Setup the configuration.
30+
*
31+
* @return void
32+
*/
33+
protected function setupConfig()
34+
{
35+
$this->app->configure('api');
36+
37+
parent::setupConfig();
38+
}
39+
2840
/**
2941
* Register the service provider.
3042
*

0 commit comments

Comments
 (0)