register(TestCommand::class, TestCommand::class) ->addTag('console.command', ['command' => TestCommand::getDefaultName()]) ; $container->setParameter('kernel.project_dir', __DIR__ . '/..'); } }