PHP Class Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper

Inheritance: extends Symfony\Component\Routing\Matcher\Dumper\MatcherDumper
Mostra file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
dump ( array $options = [] ) : string Dumps a set of routes to a PHP class.

Protected Methods

Method Description
addConstructor ( )
addMatcher ( )
endClass ( )
startClass ( $class, $baseClass )

Private Methods

Method Description
addMatcher ( $supportsRedirections )
compileRoute ( Symfony\Component\Routing\Route $route, $name, $supportsRedirections, $parentPrefix = null )
compileRoutes ( RouteCollection $routes, $supportsRedirections, $parentPrefix = null )

Method Details

addConstructor() protected method

protected addConstructor ( )

addMatcher() protected method

protected addMatcher ( )

dump() public method

Available options: * class: The class name * base_class: The base class name
public dump ( array $options = [] ) : string
$options array An array of options
return string A PHP class representing the matcher class

endClass() protected method

protected endClass ( )

startClass() protected method

protected startClass ( $class, $baseClass )