Registry /
other / symfony-event-dispatcher-contracts
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
EventDispatcherInterface
✓ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
Implement the event dispatcher interface
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
class MyDispatcher implements EventDispatcherInterface {
public function dispatch(object $event, ?string $eventName = null): object {
return $event;
}
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.