NullRouteMatch.php in Drupal 9
File
core/lib/Drupal/Core/Routing/NullRouteMatch.php
View source
<?php
namespace Drupal\Core\Routing;
use Symfony\Component\HttpFoundation\ParameterBag;
class NullRouteMatch implements RouteMatchInterface {
public function getRouteName() {
return NULL;
}
public function getRouteObject() {
return NULL;
}
public function getParameter($parameter_name) {
return NULL;
}
public function getParameters() {
return new ParameterBag();
}
public function getRawParameter($parameter_name) {
return NULL;
}
public function getRawParameters() {
return new ParameterBag();
}
}
Classes
Name |
Description |
NullRouteMatch |
Stub implementation of RouteMatchInterface for when there's no matched route. |