Moved some elements in Common module to more proper locations

This commit is contained in:
Alejandro Celaya
2019-08-10 23:58:21 +02:00
parent 986c165815
commit 5fa4fa0225
17 changed files with 139 additions and 108 deletions

View File

@@ -23,6 +23,8 @@ return [
Psr\EventDispatcherInterface::class => Phly\EventDispatcher::class,
],
'delegators' => [
// The listener provider has to be lazy, because it uses the Swoole server to generate AsyncEventListeners
// Without making this lazy, CLI commands which depend on the EventDispatcher fail
Psr\ListenerProviderInterface::class => [
LazyServiceFactory::class,
],