[EventDispatcher] add missing "dispatcher" property on #[EventListener]

This commit is contained in:
Nicolas Grekas 2021-02-18 17:19:14 +01:00
parent 22c2f1af65
commit 4718fc2b1d

View File

@ -22,7 +22,8 @@ class EventListener
public function __construct(
public ?string $event = null,
public ?string $method = null,
public int $priority = 0
public int $priority = 0,
public ?string $dispatcher = null,
) {
}
}