public function SpyEventDispatcher::getEvents in Hook Event Dispatcher 8
Get the events keyed by event name.
Return value
\Symfony\Component\EventDispatcher\Event[] Events keyed by event name.
File
- tests/
src/ Unit/ Preprocess/ Helpers/ SpyEventDispatcher.php, line 82
Class
- SpyEventDispatcher
- Class SpyEventDispatcher.
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\HelpersCode
public function getEvents() {
return $this->events;
}