src/MollieServiceProvider.php
protected function registerApiAdapter()
    {
        $this->app->singleton('mollie.api', function (Container $app) {
            $config = $app['config'];

            return new MollieApiWrapper($config, $app['mollie.api.client']);
        });

        $this->app->alias('mollie.api', MollieApiWrapper::class);
    }
protected function registerApiAdapter()
    {
        $this->app->singleton('mollie.api', function (Container $app) {
            $config = $app['config'];

            return new MollieApiWrapper($config, $app['mollie.api.client']);
        });

        $this->app->alias('mollie.api', MollieApiWrapper::class);
    }
protected function registerApiAdapter ( ) { $ this -> app -> singleton ( 'mollie.api' , function ( Container $ app ) { $ config = $ app [ 'config' ] ; return new MollieApiWrapper ( $ config , $ app [ 'mollie.api.client' ] ) ; } ) ; $ this -> app -> alias ( 'mollie.api' , MollieApiWrapper :: class ) ; }
Register the Mollie API adapter class.

@return void
Register the Mollie API adapter class .