You are here

public function SpyEventDispatcher::getListenerPriority in Hook Event Dispatcher 8

Mock.

@inheritdoc

File

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

Class

SpyEventDispatcher
Class SpyEventDispatcher.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers

Code

public function getListenerPriority($eventName, $listener) {
  throw new BadMethodCallException('This spy does not support this call');
}