public function registerManager()
    {
        $this->app->singleton('omnipay', function ($app) {
            $factory = new GatewayFactory;
            $manager = new LaravelOmnipayManager($app, $factory);

            return $manager;
        });
    }
public function registerManager()
    {
        $this->app->singleton('omnipay', function ($app) {
            $factory = new GatewayFactory;
            $manager = new LaravelOmnipayManager($app, $factory);

            return $manager;
        });
    }
public function registerManager ( ) { $ this -> app -> singleton ( 'omnipay' , function ( $ app ) { $ factory = new GatewayFactory ; $ manager = new LaravelOmnipayManager ( $ app , $ factory ) ; return $ manager ; } ) ; }
Register the Omnipay manager
Register the Omnipay manager