EventDispatcher
E452809
EventDispatcher is a Symfony component that implements an event-driven architecture, allowing different parts of an application to communicate through dispatched events and registered listeners or subscribers.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
PHP library component
ⓘ
Symfony component ⓘ |
| allows |
dispatching named events
ⓘ
dispatching object-based events ⓘ registering event listeners ⓘ registering event subscribers ⓘ |
| canBeUsedStandalone | true ⓘ |
| designGoal |
high extensibility
ⓘ
low coupling ⓘ |
| distributedAs | Composer package symfony/event-dispatcher ⓘ |
| documentationUrl | https://symfony.com/doc/current/components/event_dispatcher.html ⓘ |
| enables |
communication via events
ⓘ
loosely coupled application components ⓘ |
| firstStableReleaseFramework | Symfony 2 NERFINISHED ⓘ |
| hasClass |
Symfony\Component\EventDispatcher\EventDispatcher
NERFINISHED
ⓘ
Symfony\Component\EventDispatcher\EventDispatcherInterface (legacy) NERFINISHED ⓘ |
| hasInterface |
Symfony\Component\EventDispatcher\EventSubscriberInterface
NERFINISHED
ⓘ
Symfony\Contracts\EventDispatcher\EventDispatcherInterface NERFINISHED ⓘ |
| hasNamespace | Symfony\Component\EventDispatcher NERFINISHED ⓘ |
| implements | event-driven architecture ⓘ |
| integratesWith |
Symfony DependencyInjection component
NERFINISHED
ⓘ
Symfony FrameworkBundle NERFINISHED ⓘ |
| licensedUnder | MIT License NERFINISHED ⓘ |
| maintainedBy | Symfony core team NERFINISHED ⓘ |
| partOf | Symfony framework NERFINISHED ⓘ |
| pattern | observer pattern ⓘ |
| providedBy | Symfony NERFINISHED ⓘ |
| repositoryUrl | https://github.com/symfony/event-dispatcher ⓘ |
| supports |
custom event classes
ⓘ
event dispatching ⓘ event listeners ⓘ event subscribers ⓘ generic event objects ⓘ lazy-loaded listeners (via service container integration) ⓘ listener priority ⓘ multiple listeners per event ⓘ stopping event propagation ⓘ subscriber classes implementing EventSubscriberInterface ⓘ |
| usedFor |
decoupling business logic from framework code
ⓘ
extending application behavior ⓘ hooking into application lifecycle ⓘ |
| usedIn |
Symfony HTTP kernel
NERFINISHED
ⓘ
Symfony console component NERFINISHED ⓘ Symfony form component NERFINISHED ⓘ Symfony security component NERFINISHED ⓘ |
| uses | PSR-14 event dispatcher concepts (in newer versions) ⓘ |
| writtenInLanguage | PHP NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.