Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 4 |
NullPathProcessorManager | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 4 |
processInbound | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
processOutbound | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\PathProcessor\NullPathProcessorManager. | |
*/ | |
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 = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { | |
return $path; | |
} | |
} |