Skip to content

Commit 07a1976

Browse files
committed
Merge branch '8.0' into 8.1
* 8.0: [Console] Fix wrong method name to add a command to an application
2 parents d24668c + 0352b87 commit 07a1976

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)