Skip to content

Commit 1982820

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Console] Add a missing versionadded directive
2 parents ab9acc9 + 7000d14 commit 1982820

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

console.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ attribute. For example, you may want a command to create a user::
142142
}
143143
}
144144

145+
.. versionadded:: 7.3
146+
147+
Support for invokable commands that don't extend the base ``Command`` class
148+
was introduced in Symfony 7.3
149+
145150
If you can't use PHP attributes, register the command as a service and
146151
:doc:`tag it </service_container/tags>` with the ``console.command`` tag. If you're using the
147152
:ref:`default services.yaml configuration <service-container-services-load-example>`,

0 commit comments

Comments
 (0)