renamed module events

This commit is contained in:
denisdulici
2020-05-14 21:04:39 +03:00
parent e15473cc7e
commit af66baa226
9 changed files with 32 additions and 23 deletions

View File

@ -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.
*