You are here

public function HookEventDispatcherManagerSpy::setMaxEventCount in Hook Event Dispatcher 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/HookEventDispatcherManagerSpy.php \Drupal\Tests\hook_event_dispatcher\Unit\HookEventDispatcherManagerSpy::setMaxEventCount()
  2. 3.x tests/src/Unit/HookEventDispatcherManagerSpy.php \Drupal\Tests\hook_event_dispatcher\Unit\HookEventDispatcherManagerSpy::setMaxEventCount()

Set max event count.

Parameters

int $maxEventCount: Event count.

File

tests/src/Unit/HookEventDispatcherManagerSpy.php, line 67

Class

HookEventDispatcherManagerSpy
Class HookEventDispatcherManagerSpy.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit

Code

public function setMaxEventCount($maxEventCount) {
  $this->maxEventCount = $maxEventCount;
}