Skip to content

Commit 271a30c

Browse files
committed
minor #19970 [FrameworkBundle] Mention that you need a config/ dir for MicroKernelTrait (javiereguiluz)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Mention that you need a config/ dir for MicroKernelTrait Fixes #19719. Commits ------- 1aa2513 Mention that you need a config/ dir for MicroKernelTrait
2 parents 28ea058 + 1aa2513 commit 271a30c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ Next, create an ``index.php`` file that defines the kernel class and runs it::
7070
$response->send();
7171
$kernel->terminate($request, $response);
7272

73+
.. note::
74+
75+
In addition to the ``index.php`` file, you'll need to create a directory called
76+
``config/`` in your project (even if it's empty because you define the configuration
77+
options inside the ``configureContainer()`` method).
78+
7379
That's it! To test it, start the :doc:`Symfony Local Web Server
7480
</setup/symfony_server>`:
7581

0 commit comments

Comments
 (0)