diff --git a/core/lib/Drupal/Core/EventSubscriber/PathListenerAbstract.php b/core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php similarity index 84% rename from core/lib/Drupal/Core/EventSubscriber/PathListenerAbstract.php rename to core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php index 014e2319b33..f8b129fee62 100644 --- a/core/lib/Drupal/Core/EventSubscriber/PathListenerAbstract.php +++ b/core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php @@ -3,7 +3,7 @@ /** * @file * - * Definition of Drupal\Core\EventSubscriber\PathListenerAbstract + * Definition of Drupal\Core\EventSubscriber\PathListenerBase */ namespace Drupal\Core\EventSubscriber; @@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\Request; /** * Base class for listeners that are manipulating the path. */ -abstract class PathListenerAbstract { +abstract class PathListenerBase { public function extractPath(Request $request) { return $request->attributes->get('system_path') ?: ltrim($request->getPathInfo(), '/'); diff --git a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php index 4cc8fc25663..0713b2fdd52 100644 --- a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php @@ -16,7 +16,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * Access subscriber for controller requests. */ -class PathSubscriber extends PathListenerAbstract implements EventSubscriberInterface { +class PathSubscriber extends PathListenerBase implements EventSubscriberInterface { /** * Resolve the system path.