public function SpyEventDispatcher::hasListeners in Hook Event Dispatcher 8
Mock.
@inheritdoc
File
- tests/
src/ Unit/ Preprocess/ Helpers/ SpyEventDispatcher.php, line 145
Class
- SpyEventDispatcher
- Class SpyEventDispatcher.
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\HelpersCode
public function hasListeners($eventName = NULL) {
throw new BadMethodCallException('This spy does not support this call');
}