renamed module events
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
namespace Modules\PaypalStandard\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider as Provider;
|
||||
use Modules\PaypalStandard\Listeners\ShowPaymentMethod;
|
||||
|
||||
class Main extends Provider
|
||||
{
|
||||
@ -16,7 +15,6 @@ class Main extends Provider
|
||||
{
|
||||
$this->loadTranslations();
|
||||
$this->loadViews();
|
||||
$this->loadEvents();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -49,16 +47,6 @@ class Main extends Provider
|
||||
$this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'paypal-standard');
|
||||
}
|
||||
|
||||
/**
|
||||
* Load events.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function loadEvents()
|
||||
{
|
||||
$this->app['events']->listen(\App\Events\Module\PaymentMethodShowing::class, ShowPaymentMethod::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load routes.
|
||||
*
|
||||
|
Reference in New Issue
Block a user