Final Class yii\symfonymailer\EventDispatcherProxy

Inheritanceyii\symfonymailer\EventDispatcherProxy
ImplementsPsr\EventDispatcher\EventDispatcherInterface
Source Code https://github.com/yiisoft/yii2-symfonymailer/blob/master/src/EventDispatcherProxy.php

Method Details

Hide inherited methods

__construct() public method

public void __construct ( \yii\base\Component $component )
$component

                public function __construct(Component $component)
{
    $this->component = $component;
}

            
dispatch() public method

public void dispatch ( object $event )
$event

                public function dispatch(object $event): object
{
    $this->component->trigger(get_class($event), new PsrEvent($event));
    return $event;
}