dimanche 8 octobre 2017

Get array of event listeners

How can I get the array of event listensers that I have specified in the EventServiceProvider?

    protected $listen = [
    'App\Events\PaymentWasCompleted' => [
        'App\Listeners\GenerateInvoice',
    ]
];

Is there a "laravel" way to do that?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire