You are here

class TestRouteProvider in Zircon Profile 8

Same name in this branch
  1. 8 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestRouteProvider
  2. 8 core/modules/system/src/Tests/Routing/RouteProviderTest.php \Drupal\system\Tests\Routing\TestRouteProvider
Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Routing/RouteProviderTest.php \Drupal\system\Tests\Routing\TestRouteProvider

Hierarchy

Expanded class hierarchy of TestRouteProvider

File

core/modules/system/src/Tests/Routing/RouteProviderTest.php, line 617
Contains \Drupal\system\Tests\Routing\RouteProviderTest.

Namespace

Drupal\system\Tests\Routing
View source
class TestRouteProvider extends RouteProvider {
  public function getCandidateOutlines(array $parts) {
    return parent::getCandidateOutlines($parts);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
RouteProvider::$cache protected property The cache backend.
RouteProvider::$cacheTagInvalidator protected property The cache tag invalidator.
RouteProvider::$connection protected property The database connection from which to read route information.
RouteProvider::$currentPath protected property The current path.
RouteProvider::$pathProcessor protected property A path processor manager for resolving the system path.
RouteProvider::$routes protected property A cache of already-loaded routes, keyed by route name.
RouteProvider::$serializedRoutes protected property A cache of already-loaded serialized routes, keyed by route name.
RouteProvider::$state protected property The state.
RouteProvider::$tableName protected property The name of the SQL table from which to read the routes.
RouteProvider::getAllRoutes public function Returns all the routes on the system. Overrides RouteProviderInterface::getAllRoutes
RouteProvider::getRouteByName public function Find the route using the provided route name (and parameters). Overrides RouteProviderInterface::getRouteByName
RouteProvider::getRouteCollectionForRequest public function Finds routes that may potentially match the request. Overrides RouteProviderInterface::getRouteCollectionForRequest
RouteProvider::getRoutesByNames public function Find many routes by their names using the provided list of names. Overrides RouteProviderInterface::getRoutesByNames
RouteProvider::getRoutesByPath protected function Get all routes which match a certain pattern.
RouteProvider::getRoutesByPattern public function Get all routes which match a certain pattern. Overrides RouteProviderInterface::getRoutesByPattern
RouteProvider::getRoutesCount public function Determines the total amount of routes. Overrides PagedRouteProviderInterface::getRoutesCount
RouteProvider::getRoutesPaged public function Find an amount of routes with an offset and possible a limit. Overrides PagedRouteProviderInterface::getRoutesPaged
RouteProvider::getSubscribedEvents static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
RouteProvider::preLoadRoutes public function Pre-load routes by their names using the provided list of names. Overrides PreloadableRouteProviderInterface::preLoadRoutes
RouteProvider::reset public function Resets the route provider object. Overrides RouteProviderInterface::reset
RouteProvider::routeProviderRouteCompare protected function Comparison function for usort on routes.
RouteProvider::ROUTE_LOAD_CID_PREFIX constant Cache ID prefix used to load routes.
RouteProvider::__construct public function Constructs a new PathMatcher.
TestRouteProvider::getCandidateOutlines public function Returns an array of path pattern outlines that could match the path parts. Overrides RouteProvider::getCandidateOutlines