Skip to content

Commit 21ee0fc

Browse files
committed
Add versionadded directive
1 parent 0d7514c commit 21ee0fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

console.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ You can also use ``#[AsCommand]`` to add a description, usages, and longer help
163163
}
164164
}
165165

166+
.. versionadded:: 7.4
167+
168+
The ability to add usages via a ``$usages`` property was introduced in Symfony 7.4.
169+
166170
Additionally, you can extend the :class:`Symfony\\Component\\Console\\Command\\Command` class to
167171
leverage advanced features like lifecycle hooks (e.g. :method:`Symfony\\Component\\Console\\Command\\Command::initialize` and
168172
and :method:`Symfony\\Component\\Console\\Command\\Command::interact`)::

0 commit comments

Comments
 (0)