NullRouteMatch.php in Drupal 10
File
core/lib/Drupal/Core/Routing/NullRouteMatch.php
View source
<?php
namespace Drupal\Core\Routing;
use Symfony\Component\HttpFoundation\InputBag;
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 InputBag();
}
}
Classes
Name |
Description |
NullRouteMatch |
Stub implementation of RouteMatchInterface for when there's no matched route. |