interface PagedRouteProviderInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/PagedRouteProviderInterface.php \Symfony\Cmf\Component\Routing\PagedRouteProviderInterface
Interface for a provider which allows to retrieve a limited amount of routes.
Hierarchy
- interface \Symfony\Cmf\Component\Routing\RouteProviderInterface
- interface \Symfony\Cmf\Component\Routing\PagedRouteProviderInterface
Expanded class hierarchy of PagedRouteProviderInterface
All classes that implement PagedRouteProviderInterface
1 file declares its use of PagedRouteProviderInterface
- RouteProvider.php in core/
lib/ Drupal/ Core/ Routing/ RouteProvider.php - Contains \Drupal\Core\Routing\RouteProvider.
File
- vendor/
symfony-cmf/ routing/ PagedRouteProviderInterface.php, line 17
Namespace
Symfony\Cmf\Component\RoutingView source
interface PagedRouteProviderInterface extends RouteProviderInterface {
/**
* Find an amount of routes with an offset and possible a limit.
*
* In case you want to iterate over all routes, you want to avoid to load
* all routes at once.
*
* @param int $offset
* The sequence will start with that offset in the list of all routes.
* @param int $length [optional]
* The sequence will have that many routes in it. If no length is
* specified all routes are returned.
*
* @return \Symfony\Component\Routing\Route[]
* Routes keyed by the route name.
*/
public function getRoutesPaged($offset, $length = null);
/**
* Determines the total amount of routes.
*
* @return int
*/
public function getRoutesCount();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PagedRouteProviderInterface:: |
public | function | Determines the total amount of routes. | 1 |
PagedRouteProviderInterface:: |
public | function | Find an amount of routes with an offset and possible a limit. | 1 |
RouteProviderInterface:: |
public | function | Find the route using the provided route name. | 2 |
RouteProviderInterface:: |
public | function | Finds routes that may potentially match the request. | 2 |
RouteProviderInterface:: |
public | function | Find many routes by their names using the provided list of names. | 2 |