Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 3091537

Browse files
committed
Alias console to ConsoleAdapter
- to allow retrieval with either `Console` or `console` as the service name.
1 parent 46a4cd2 commit 3091537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Service/ServiceListenerFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class ServiceListenerFactory implements FactoryInterface
4040
'aliases' => [
4141
'Configuration' => 'config',
4242
'configuration' => 'config',
43+
'console' => 'ConsoleAdapter',
4344
'Console' => 'ConsoleAdapter',
4445
'ConsoleDefaultRenderingStrategy' => View\Console\DefaultRenderingStrategy::class,
4546
'ControllerLoader' => 'ControllerManager',

0 commit comments

Comments
 (0)