Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Bolt
Routing
LazyUrlGenerator
__construct
Bolt\Routing\LazyUrlGenerator::__construct PHP Method
LazyUrlGenerator Class Documentation
Show file
Open project: bolt/bolt
__construct()
public
method
LazyUrlGenerator constructor.
public
__construct
(
callable
$factory
)
$factory
callable
Should return UrlGeneratorInterface when invoked
public function __construct(callable $factory) { $this->factory = $factory; }
LazyUrlGenerator
__construct
generate
getContext
getUrlGenerator
setContext