We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4063427 + 4d706f1 commit 530ecc4Copy full SHA for 530ecc4
src/ServiceProvider.php
@@ -21,7 +21,7 @@ public function register()
21
$configPath = __DIR__ . '/../config/omnipay.php';
22
$this->publishes([$configPath => config_path('omnipay.php')]);
23
24
- $this->app['omnipay'] = $this->app->share(function ($app){
+ $this->app->singleton('omnipay',function ($app){
25
$defaults = $app['config']->get('omnipay.defaults', array());
26
return new GatewayManager($app, new GatewayFactory, $defaults);
27
});
0 commit comments