Closed
Description
The Routing component had a lot of deprecations in 2.2. The PHP examples of the configuration blocks aren't updated to follow these changes.
Example:
.. configuration-block::
.. ...
.. code-block:: php
// ...
$collection->addCollection($loader->import("..."), '/admin');
Should become:
.. configuration-block::
.. ...
.. code-block:: php
// ...
$acmeHello = $loader->import("...");
$acmeHello->setPrefix('/admin');
$collection->addCollection($acmeHello);
Please note that the first change, the change of the routing option names, is already fixed in the documetation.
Metadata
Metadata
Assignees
Labels
Clear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.Ideal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)