AM
Size: a a a
AM
AM
AM
DS
AM
AM
DS
'yiisoft/event-dispatcher/eventdispatcher' => [
'__class' => EventDispatcherProvider::class,
'__construct()' => [
events-web'
],
],
AM
AM
DS
DS
DS
DS
ublic function __construct(string $configName)
{
$this->eventListeners = require Builder::path($configName);
}
AM
DS
NO
AM
DS
WebEventDispatcherProvider
и ConsoleEventDispatcherProvider
DS
AM