Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions components/console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
Loading