class RouteProcessorManager
Route processor manager.
Holds an array of route processor objects and uses them to sequentially process an outbound route, in order of processor priority.
Hierarchy
- class \Drupal\Core\RouteProcessor\RouteProcessorManager implements OutboundRouteProcessorInterface
File
- core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php, line 14
Namespace
Drupal\Core\RouteProcessorMembers
Name | Modifiers | Type | Description |
---|---|---|---|
RouteProcessorManager::$outboundProcessors | protected | property | Holds the array of outbound processors to cycle through. |
RouteProcessorManager::$sortedOutbound | protected | property | Holds the array of outbound processors, sorted by priority. |
RouteProcessorManager::addOutbound | public | function | Adds an outbound processor object to the $outboundProcessors property. |
RouteProcessorManager::getOutbound | protected | function | Returns the sorted array of outbound processors. |
RouteProcessorManager::processOutbound | public | function | Processes the outbound route. Overrides OutboundRouteProcessorInterface::processOutbound |
RouteProcessorManager::sortProcessors | protected | function | Sorts the processors according to priority. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!RouteProcessor!RouteProcessorManager.php/class/RouteProcessorManager/8.1.x