Метод | Описание | |
---|---|---|
__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 ) |
public __construct ( callable $factory ) | ||
$factory | callable | Should return UrlGeneratorInterface when invoked |
public generate ( $name, $parameters = [], $referenceType = self::ABSOLUTE_PATH ) |
public getUrlGenerator ( ) : Symfony\Component\Routing\Generator\UrlGeneratorInterface | ||
Результат | Symfony\Component\Routing\Generator\UrlGeneratorInterface |
public setContext ( Symfony\Component\Routing\RequestContext $context ) | ||
$context | Symfony\Component\Routing\RequestContext |