Various minor documentation cleanups.

8.0.x
Larry Garfield 2013-01-12 14:08:46 -06:00
parent a16eecd307
commit ef577f3931
6 changed files with 16 additions and 6 deletions

View File

@ -2,7 +2,7 @@
/**
* @file
* Contains of Drupal\Core\Routing\UrlGenerator.
* Contains Drupal\Core\Routing\UrlGenerator.
*/
namespace Drupal\Core\Routing;

View File

@ -1,5 +1,10 @@
<?php
/**
* @file
* Contains Drupal\Core\Routing\UrlMatcher.
*/
namespace Drupal\Core\Routing;
use Symfony\Component\HttpFoundation\Request;
@ -12,6 +17,12 @@ use Symfony\Cmf\Component\Routing\NestedMatcher\UrlMatcher as BaseUrlMatcher;
*/
class UrlMatcher extends BaseUrlMatcher {
/**
* Constructs a new UrlMatcher.
*
* The parent class has a constructor we need to skip, so just override it
* with a no-op.
*/
public function __construct() {}
public function finalMatch(RouteCollection $collection, Request $request) {

View File

@ -2,7 +2,7 @@
/**
* @file
* Contains of Drupal\system\Tests\Routing\MockAliasManager.
* Contains Drupal\system\Tests\Routing\MockAliasManager.
*/
namespace Drupal\system\Tests\Routing;

View File

@ -2,7 +2,7 @@
/**
* @file
* Contains of Drupal\system\Tests\Routing\MockRouteProvider.
* Contains Drupal\system\Tests\Routing\MockRouteProvider.
*/
namespace Drupal\system\Tests\Routing;
@ -14,7 +14,6 @@ use Symfony\Cmf\Component\Routing\RouteProviderInterface;
/**
* Easily configurable mock route provider.
*
*/
class MockRouteProvider implements RouteProviderInterface {

View File

@ -2,7 +2,7 @@
/**
* @file
* Definition of Drupal\system\Tests\Routing\RouteProviderTest.
* Contains Drupal\system\Tests\Routing\RouteProviderTest.
*/
namespace Drupal\system\Tests\Routing;

View File

@ -2,7 +2,7 @@
/**
* @file
* Contains of Drupal\system\Tests\Routing\UrlGeneratorTest.
* Contains Drupal\system\Tests\Routing\UrlGeneratorTest.
*/
namespace Drupal\system\Tests\Routing;