diff --git a/core/lib/Drupal/Core/Routing/Router.php b/core/lib/Drupal/Core/Routing/Router.php index aab9df3..6093271 100644 --- a/core/lib/Drupal/Core/Routing/Router.php +++ b/core/lib/Drupal/Core/Routing/Router.php @@ -16,23 +16,23 @@ use Symfony\Component\Routing\RouterInterface; /** - * Central router implementation in Drupal. + * Router implementation in Drupal. * - * A router determines, for an incoming process, the active controller, which is - * a callable that creates the output of the page. + * A router determines, for an incoming request, the active controller, which is + * a callable that creates a response. * * It consists of several steps, of which each are explained in more details * below: - * - Get a collection of routes which potentially match the current request: + * 1. Get a collection of routes which potentially match the current request: * This is done by the route provider ::getInitialRouteCollection() - * - Filter the collection down further more. For example this filters out + * 2. Filter the collection down further more. For example this filters out * routes applying to other formats: ::applyRouteFilters() - * - Find the best matching route out of the remaining one, by applying a + * 3. Find the best matching route out of the remaining ones, by applying a * regex: ::matchCollection() - * - Enhance the list of route attributes, for example loading entity objects + * 4. Enhance the list of route attributes, for example loading entity objects * : ::applyRouteEnhancers(). * - * This implementation consists ideas of the following routers: + * This implementation uses ideas of the following routers: * * @see \Symfony\Cmf\Component\Routing\DynamicRouter * @see \Drupal\Core\Routing\UrlMatcher