Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Closed
Labels
Milestone
Description
The Routing component had alot 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.