Skip to content

Commit

Permalink
minor #19970 [FrameworkBundle] Mention that you need a config/ dir fo…
Browse files Browse the repository at this point in the history
…r 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
  • Loading branch information
javiereguiluz committed Jun 18, 2024
2 parents 28ea058 + 1aa2513 commit 271a30c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ Next, create an ``index.php`` file that defines the kernel class and runs it::
$response->send();
$kernel->terminate($request, $response);

.. note::

In addition to the ``index.php`` file, you'll need to create a directory called
``config/`` in your project (even if it's empty because you define the configuration
options inside the ``configureContainer()`` method).

That's it! To test it, start the :doc:`Symfony Local Web Server
</setup/symfony_server>`:

Expand Down

0 comments on commit 271a30c

Please sign in to comment.