Skip to content

Commit 55ecef8

Browse files
Nek-javiereguiluz
authored andcommitted
[Console] Fix wrong method name to add a command to an application
1 parent c4b80b0 commit 55ecef8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

components/console.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ Then, you can register the commands using
4848
// ...
4949
$application->addCommand(new GenerateAdminCommand());
5050

51-
.. versionadded:: 7.4
52-
53-
The ``addCommand()`` method was introduced in Symfony 7.4. In earlier
54-
versions, you had to use the ``add()`` method of the same class.
55-
5651
You can also register inline commands and define their behavior thanks to the
5752
``Command::setCode()`` method::
5853

0 commit comments

Comments
 (0)