class RouteProvider in SimpleTest 8.3
Rebuilds the router when the provider is instantiated.
Hierarchy
- class \Drupal\KernelTests\RouteProvider implements \Symfony\Cmf\Component\Routing\PagedRouteProviderInterface, PreloadableRouteProviderInterface uses DependencySerializationTrait
- class \Drupal\simpletest\RouteProvider
Expanded class hierarchy of RouteProvider
Deprecated
in 8.6.0 for removal before 9.0.0. Use Drupal\KernelTests\RouteProvider instead.
See also
https://www.drupal.org/node/2943146
File
- src/
RouteProvider.php, line 15
Namespace
Drupal\simpletestView source
class RouteProvider extends CoreRouteProvider {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DependencySerializationTrait:: |
protected | property | An array of entity type IDs keyed by the property name of their storages. | |
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | 1 | |
DependencySerializationTrait:: |
public | function | 2 | |
RouteProvider:: |
public | function |
Returns all the routes on the system. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
public | function | ||
RouteProvider:: |
public | function | Find the route using the provided route name. | |
RouteProvider:: |
public | function | Finds routes that may potentially match the request. | |
RouteProvider:: |
public | function | Find many routes by their names using the provided list of names. | |
RouteProvider:: |
public | function |
Get all routes which match a certain pattern. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
public | function | Determines the total amount of routes. | |
RouteProvider:: |
public | function | Find an amount of routes with an offset and possible a limit. | |
RouteProvider:: |
protected | function | Loads the real route provider from the container and rebuilds the router. | |
RouteProvider:: |
public | function |
Pre-load routes by their names using the provided list of names. Overrides PreloadableRouteProviderInterface:: |
|
RouteProvider:: |
public | function |
Resets the route provider object. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
public | function |