From 605150a749e84d82148a2c33704f1469357b97fa Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Fri, 5 Jan 2018 11:19:35 +0100 Subject: [PATCH] commands are automatically registered in symfony full stack the FrameworkBundle console application should have the commands automatically registered. adding it manually will hide setup problems with commands. --- console.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/console.rst b/console.rst index 1e96533c502..22a5b27b566 100644 --- a/console.rst +++ b/console.rst @@ -299,7 +299,6 @@ you can extend your test from $kernel->boot(); $application = new Application($kernel); - $application->add(new CreateUserCommand()); $command = $application->find('app:create-user'); $commandTester = new CommandTester($command);