Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch
{@inheritDoc}
Lazily loads listeners for this event from the dependency injection container.
Signature
public function dispatch(
$eventName,
[Event
$event = null] )
Parameters
Errors/Exceptions
-
InvalidArgumentException
- if the service is not defined