[ // Use 'aliases' to alias a service name to another service. The // key is the alias name, the value is the service to which it points. 'aliases' => [], // Use 'invokables' for constructor-less services, or services that do // not require arguments to the constructor. Map a service name to the // class name. 'invokables' => [], // Use 'factories' for services provided by callbacks/factory classes. 'factories' => [ Symfony\Component\Console\Application::class => App\ApplicationFactory::class, ], ], ];