NoopEventDispatcher

final class \TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher

Implements
EventDispatcherInterface

An event dispatcher that does nothing. Useful for testing.

Also used in scopes like the install tool where classes have dependencies to EventDispatcherInterface but should not actively dispatch events.

Table of Contents

Interfaces

EventDispatcherInterface

Methods

dispatch()  : object

Methods

dispatch()

public dispatch(object $event) : object

Parameters

$event : object

Return values

object
On this page