-The `event_listeners` key must contain an array of arrays. Each array element must contain at least 2 elements and may include a 3rd element. These roughly correspond to the arguments passed to [`League\Event\ListenerRegistry::subscribeTo()`](https://github.com/thephpleague/event/blob/ec38ff7ea10cad7d99a79ac937fbcffb9334c210/src/ListenerRegistry.php#L9). The first element must be a string -- either the [wildcard (`*`)](https://event.thephpleague.com/2.0/listeners/wildcard/) or a [single event name](https://event.thephpleague.com/2.0/events/named/). The second element must be either a callable, a concrete instance of `League\Event\Listener`, or a string pointing to your listener service instance in the container. The third element is optional, and must be an integer if provided.
0 commit comments