class TestEventDispatcher in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/Fixtures/TestEventDispatcher.php \Symfony\Component\HttpKernel\Tests\Fixtures\TestEventDispatcher
Hierarchy
- class \Symfony\Component\EventDispatcher\EventDispatcher implements EventDispatcherInterface
- class \Symfony\Component\HttpKernel\Tests\Fixtures\TestEventDispatcher implements TraceableEventDispatcherInterface
Expanded class hierarchy of TestEventDispatcher
File
- vendor/
symfony/ http-kernel/ Tests/ Fixtures/ TestEventDispatcher.php, line 17
Namespace
Symfony\Component\HttpKernel\Tests\FixturesView source
class TestEventDispatcher extends EventDispatcher implements TraceableEventDispatcherInterface {
public function getCalledListeners() {
return array(
'foo',
);
}
public function getNotCalledListeners() {
return array(
'bar',
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EventDispatcher:: |
private | property | 1 | |
EventDispatcher:: |
private | property | ||
EventDispatcher:: |
public | function |
Adds an event listener that listens on the specified events. Overrides EventDispatcherInterface:: |
|
EventDispatcher:: |
public | function |
Adds an event subscriber. Overrides EventDispatcherInterface:: |
|
EventDispatcher:: |
public | function |
Dispatches an event to all registered listeners. Overrides EventDispatcherInterface:: |
|
EventDispatcher:: |
protected | function | Triggers the listeners of an event. | |
EventDispatcher:: |
public | function |
Gets the listeners of a specific event or all listeners sorted by descending priority. Overrides EventDispatcherInterface:: |
1 |
EventDispatcher:: |
public | function |
Checks whether an event has any registered listeners. Overrides EventDispatcherInterface:: |
1 |
EventDispatcher:: |
public | function |
Removes an event listener from the specified events. Overrides EventDispatcherInterface:: |
1 |
EventDispatcher:: |
public | function |
Removes an event subscriber. Overrides EventDispatcherInterface:: |
|
EventDispatcher:: |
private | function | Sorts the internal list of listeners for the given event by priority. | |
TestEventDispatcher:: |
public | function |
Gets the called listeners. Overrides TraceableEventDispatcherInterface:: |
|
TestEventDispatcher:: |
public | function |
Gets the not called listeners. Overrides TraceableEventDispatcherInterface:: |