From 55ecef8911f0699d5b7a2981ee975fb7f0c238e6 Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Fri, 28 Nov 2025 20:19:07 +0100 Subject: [PATCH] [Console] Fix wrong method name to add a command to an application --- components/console.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/console.rst b/components/console.rst index 5a9c4e4a467..5284d06c588 100644 --- a/components/console.rst +++ b/components/console.rst @@ -48,11 +48,6 @@ Then, you can register the commands using // ... $application->addCommand(new GenerateAdminCommand()); -.. versionadded:: 7.4 - - The ``addCommand()`` method was introduced in Symfony 7.4. In earlier - versions, you had to use the ``add()`` method of the same class. - You can also register inline commands and define their behavior thanks to the ``Command::setCode()`` method::