Rename PathListenerAbstract to PathListenerBase to conform to what is likely to soon be the coding standard.

8.0.x
Larry Garfield 2012-05-09 01:18:05 -05:00
parent e70d9ac810
commit bf41cd2e15
2 changed files with 3 additions and 3 deletions

View File

@ -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(), '/');

View File

@ -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.