MatcherDumper is the abstract class for all built-in matcher dumpers.
@author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of MatcherDumper
abstract class MatcherDumper implements MatcherDumperInterface {
/**
* @var RouteCollection
*/
private $routes;
/**
* Constructor.
*
* @param RouteCollection $routes The RouteCollection to dump
*/
public function __construct(RouteCollection $routes) {
$this->routes = $routes;
}
/**
* {@inheritdoc}
*/
public function getRoutes() {
return $this->routes;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MatcherDumper:: |
private | property | ||
MatcherDumper:: |
public | function |
Gets the routes to dump. Overrides MatcherDumperInterface:: |
|
MatcherDumper:: |
public | function | Constructor. | |
MatcherDumperInterface:: |
public | function | Dumps a set of routes to a string representation of executable code that can then be used to match a request against these routes. | 3 |