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 95b22f5 + 7c37a3b commit 3983e27Copy full SHA for 3983e27
src/Ignited/LaravelOmnipay/BaseServiceProvider.php
@@ -27,8 +27,7 @@ public function register()
27
*/
28
public function registerManager()
29
{
30
- $this->app['omnipay'] = $this->app->share(function($app)
31
- {
+ $this->app->singleton('omnipay', function ($app) {
32
$factory = new GatewayFactory;
33
$manager = new LaravelOmnipayManager($app, $factory);
34
0 commit comments