Subscribers

To register event Subscribersopen in new window, state the class path of your subscribers inside the subscribers key, in your /config/events.php file.

<?php
return [

    // ... previous not shown ...
    'subscribers' => [

        \Acme\Imports\Subscribers\ImportEventSubscriber::class,
        \Acme\Users\Subscribers\UserEventSubscriber::class,
        \Acme\Api\Subscribers\ApiEventSubscriber::class,

        // ... etc
    ]
];