public function HookEventDispatcherManagerSpy::setMaxEventCount in Hook Event Dispatcher 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/HookEventDispatcherManagerSpy.php \Drupal\Tests\hook_event_dispatcher\Unit\HookEventDispatcherManagerSpy::setMaxEventCount()
- 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\UnitCode
public function setMaxEventCount($maxEventCount) {
$this->maxEventCount = $maxEventCount;
}