src/Viserio/Component/Console/Provider/ConsoleServiceProvider.php
public function getFactories(): array
    {
        return [
            Application::class    => [self::class, 'createCerebro'],
            SymfonyConsole::class => static function (ContainerInterface $container) {
                return $container->get(Application::class);
            },
            'console' => static function (ContainerInterface $container) {
                return $container->get(Application::class);
            },
            'cerebro' => static function (ContainerInterface $container) {
                return $container->get(Application::class);
            },
        ];
    }
public function getFactories(): array
    {
        return [
            Application::class    => [self::class, 'createCerebro'],
            SymfonyConsole::class => static function (ContainerInterface $container) {
                return $container->get(Application::class);
            },
            'console' => static function (ContainerInterface $container) {
                return $container->get(Application::class);
            },
            'cerebro' => static function (ContainerInterface $container) {
                return $container->get(Application::class);
            },
        ];
    }
{@inheritdoc}