Commit f5079ffb authored by Crell's avatar Crell
Browse files

Rename UrlMatcher to LegacyUrlMatcher.

The current matcher is a temporary legacy shiv to support the old routing system.
Label it as such so that we can reserve the class name for the new and imroved
router.
parent 37e72619
......@@ -45,7 +45,7 @@ class DrupalKernel extends HttpKernel {
public function __construct(EventDispatcherInterface $dispatcher, ControllerResolverInterface $resolver) {
parent::__construct($dispatcher, $resolver);
$this->matcher = new UrlMatcher();
$this->matcher = new LegacyUrlMatcher();
$this->dispatcher->addSubscriber(new RouterListener($this->matcher));
$negotiation = new ContentNegotiation();
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of Drupal\Core\UrlMatcher.
* Definition of Drupal\Core\LegacyUrlMatcher.
*/
namespace Drupal\Core;
......@@ -19,7 +19,7 @@
/**
* UrlMatcher matches URL based on a set of routes.
*/
class UrlMatcher implements UrlMatcherInterface {
class LegacyUrlMatcher implements UrlMatcherInterface {
/**
* The request context for this matcher.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment