1234567891011121314151617181920212223242526272829 |
- <?php
- namespace Drupal\Core\PathProcessor;
- use Drupal\Core\Render\BubbleableMetadata;
- use Symfony\Component\HttpFoundation\Request;
- /**
- * Provides a null implementation of the path processor manager.
- *
- * This can be used for example in really early installer phases.
- */
- class NullPathProcessorManager implements InboundPathProcessorInterface, OutboundPathProcessorInterface {
- /**
- * {@inheritdoc}
- */
- public function processInbound($path, Request $request) {
- return $path;
- }
- /**
- * {@inheritdoc}
- */
- public function processOutbound($path, &$options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) {
- return $path;
- }
- }
|