You are here

private property SpyEventDispatcher::$events in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/SpyEventDispatcher.php \Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers\SpyEventDispatcher::events

Events keyed by event name.

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

File

modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/SpyEventDispatcher.php, line 23

Class

SpyEventDispatcher
Class SpyEventDispatcher.

Namespace

Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers

Code

private $events = [];