We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f43f031 + 72a5986 commit 346ea5bCopy full SHA for 346ea5b
en/appendices/5-3-migration-guide.rst
@@ -95,6 +95,10 @@ Console
95
directories as array keys and files as lists under each directory.
96
- Commands can now implement ``getGroup()`` to customize how commands are
97
grouped in ``bin/cake -h`` output.
98
+- ``CommandCollection::replace()`` was added. This method allows you to replace
99
+ an existing command in the collection without needing to remove and re-add it.
100
+ This is particularly useful when using ``autoDiscover`` and you want to replace
101
+ a command with a customized version.
102
103
Core
104
----
0 commit comments