Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 6 |
CRAP | |
0.00% |
0 / 6 |
NullRouteMatch | |
0.00% |
0 / 1 |
|
0.00% |
0 / 6 |
42 | |
0.00% |
0 / 6 |
getRouteName | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getRouteObject | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getParameter | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getParameters | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getRawParameter | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getRawParameters | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\Routing\NullRouteMatch. | |
*/ | |
namespace Drupal\Core\Routing; | |
use Symfony\Component\HttpFoundation\ParameterBag; | |
/** | |
* Stub implementation of RouteMatchInterface for when there's no matched route. | |
*/ | |
class NullRouteMatch implements RouteMatchInterface { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getRouteName() { | |
return NULL; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getRouteObject() { | |
return NULL; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getParameter($parameter_name) { | |
return NULL; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getParameters() { | |
return new ParameterBag(); | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getRawParameter($parameter_name) { | |
return NULL; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getRawParameters() { | |
return new ParameterBag(); | |
} | |
} |