You are here

private property SpyEventDispatcher::$events in Hook Event Dispatcher 8

Events keyed by event name.

Type: \Symfony\Component\EventDispatcher\Event[]

File

tests/src/Unit/Preprocess/Helpers/SpyEventDispatcher.php, line 23

Class

SpyEventDispatcher
Class SpyEventDispatcher.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers

Code

private $events = [];