File tree 3 files changed +4
-0
lines changed
src/Symfony/Component/Console 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ Console
40
40
```
41
41
42
42
* Deprecate methods ` Command::getDefaultName() ` and ` Command::getDefaultDescription() ` in favor of the ` #[AsCommand] ` attribute
43
+ * ` #[AsCommand] ` attribute is now marked as ` @final ` ; you should use separate attributes to add more logic to commands
43
44
44
45
DependencyInjection
45
46
-------------------
Original file line number Diff line number Diff line change 13
13
14
14
/**
15
15
* Service tag to autoconfigure commands.
16
+ *
17
+ * @final since Symfony 7.3
16
18
*/
17
19
#[\Attribute(\Attribute::TARGET_CLASS )]
18
20
class AsCommand
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ CHANGELOG
13
13
* Add support for Markdown format in ` Table `
14
14
* Add support for ` LockableTrait ` in invokable commands
15
15
* Deprecate returning a non-integer value from a ` \Closure ` function set via ` Command::setCode() `
16
+ * Mark ` #[AsCommand] ` attribute as ` @final `
16
17
17
18
7.2
18
19
---
You can’t perform that action at this time.
0 commit comments