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.
1 parent ef6598c commit 9baf482Copy full SHA for 9baf482
en/appendices/5-3-migration-guide.rst
@@ -74,6 +74,21 @@ Command
74
- ``cake server`` now supports a ``--frankenphp`` option that will start the
75
development server with `FrankenPHP <https://frankenphp.dev/>`__.
76
77
+Core
78
+----
79
+
80
+- Added ``Configure`` container attribute to support injecting ``Configure`` values into
81
+ constructor promoted properties when resolving a class. Example:
82
83
+ .. code-block:: php
84
85
+ class InjectedService
86
+ {
87
+ public function __construct(
88
+ #[Configure('MyService.apiKey')] protected string $apiKey,
89
+ ) { }
90
+ }
91
92
Cache
93
-----
94
0 commit comments