PHP Class Bolt\Routing\LazyUrlGenerator

Similar concept with {@see \Silex\LazyUrlMatcher LazyUrlMatcher} and {@see \Symfony\Component\HttpKernel\EventListener\RouterListener RouterListener}
Author: Carson Full ([email protected])
Inheritance: implements Symfony\Component\Routing\Generator\UrlGeneratorInterface
Afficher le fichier Open project: bolt/bolt

Méthodes publiques

Méthode Description
__construct ( callable $factory ) LazyUrlGenerator constructor.
generate ( $name, $parameters = [], $referenceType = self::ABSOLUTE_PATH )
getContext ( )
getUrlGenerator ( ) : Symfony\Component\Routing\Generator\UrlGeneratorInterface
setContext ( Symfony\Component\Routing\RequestContext $context )

Method Details

__construct() public méthode

LazyUrlGenerator constructor.
public __construct ( callable $factory )
$factory callable Should return UrlGeneratorInterface when invoked

generate() public méthode

public generate ( $name, $parameters = [], $referenceType = self::ABSOLUTE_PATH )

getContext() public méthode

public getContext ( )

getUrlGenerator() public méthode

public getUrlGenerator ( ) : Symfony\Component\Routing\Generator\UrlGeneratorInterface
Résultat Symfony\Component\Routing\Generator\UrlGeneratorInterface

setContext() public méthode

public setContext ( Symfony\Component\Routing\RequestContext $context )
$context Symfony\Component\Routing\RequestContext