Pull merge.
[yaffs-website] / web / core / lib / Drupal / Core / PathProcessor / NullPathProcessorManager.php
1 <?php
2
3 namespace Drupal\Core\PathProcessor;
4
5 use Drupal\Core\Render\BubbleableMetadata;
6 use Symfony\Component\HttpFoundation\Request;
7
8 /**
9  * Provides a null implementation of the path processor manager.
10  *
11  * This can be used for example in really early installer phases.
12  */
13 class NullPathProcessorManager implements InboundPathProcessorInterface, OutboundPathProcessorInterface {
14
15   /**
16    * {@inheritdoc}
17    */
18   public function processInbound($path, Request $request) {
19     return $path;
20   }
21
22   /**
23    * {@inheritdoc}
24    */
25   public function processOutbound($path, &$options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) {
26     return $path;
27   }
28
29 }