8000 [FrameworkBundle] MicroKernelTrait configureRouting(Configurator) by vudaltsov · Pull Request #12688 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] MicroKernelTrait configureRouting(Configurator) #12688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added versionadded paragraphs
  • Loading branch information
vudaltsov committed Nov 25, 2019
commit 14ee1f9845c1e0e1962cb2f07ea5ad8db3374137
4 changes: 4 additions & 0 deletions configuration/front_controllers_and_kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ you must implement them all:
It adds individual routes or collections of routes to the application (for
example loading the routes defined in some config file).

.. versionadded:: 5.1

The ``configureRouting`` method was introduced in Symfony 5.1.

:method:`Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait::configureContainer`
It loads the application configuration from config files or using the
``loadFromExtension()`` method and can also register new container parameters
Expand Down
4 changes: 4 additions & 0 deletions configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ that define your bundles, your services and your routes:
``RoutingConfigurator`` has methods that make adding routes in PHP more
fun. You can also load external routing files (shown below).

.. versionadded:: 5.1

The ``configureRouting`` method was introduced in Symfony 5.1.

Advanced Example: Twig, Annotations and the Web Debug Toolbar
-------------------------------------------------------------

Expand Down
0