Skip to content

Commit 7f138ad

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Mention that you need a config/ dir for MicroKernelTrait
2 parents bcef601 + 548edd0 commit 7f138ad

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@ Next, create an ``index.php`` file that defines the kernel class and runs it:
120120
$response->send();
121121
$kernel->terminate($request, $response);
122122
123+
.. versionadded:: 6.1
124+
125+
The PHP attributes notation has been introduced in Symfony 6.1.
126+
127+
.. note::
128+
129+
In addition to the ``index.php`` file, you'll need to create a directory called
130+
``config/`` in your project (even if it's empty because you define the configuration
131+
options inside the ``configureContainer()`` method).
132+
123133
That's it! To test it, start the :doc:`Symfony Local Web Server
124134
</setup/symfony_server>`:
125135

0 commit comments

Comments
 (0)