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

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

Méthodes publiques

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

Méthodes protégées

Méthode Description
addConstructor ( )
addMatcher ( )
endClass ( )
startClass ( $class, $baseClass )

Private Methods

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

Method Details

addConstructor() protected méthode

protected addConstructor ( )

addMatcher() protected méthode

protected addMatcher ( )

dump() public méthode

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

endClass() protected méthode

protected endClass ( )

startClass() protected méthode

protected startClass ( $class, $baseClass )