for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ActionM\WebMoneyMerchant;
use Illuminate\Support\ServiceProvider;
class WebMoneyMerchantServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
$this->publishes([
__DIR__.'/../config/webmoney-merchant.php' => config_path('webmoney-merchant.php'),
], 'config');
__DIR__.'/../resources/views' => base_path('resources/views/vendor/webmoney-merchant'),
], 'views');
$this->loadViewsFrom(__DIR__.'/../resources/views', 'webmoney-merchant');
}
* Register the application services.
public function register()
$this->mergeConfigFrom(__DIR__.'/../config/webmoney-merchant.php', 'webmoney-merchant');
$this->app['events']->subscribe(WebMoneyMerchantNotifier::class);
$this->app->singleton('webmoneymerchant', function () {
return $this->app->make('ActionM\WebMoneyMerchant\WebMoneyMerchant');
});
$this->app->alias('webmoneymerchant', 'WebMoneyMerchant');
$this->app->singleton(WebMoneyMerchantNotifier::class);