public fromRoute ( string $route = null, array | Traversabl\Traversable $params = [], array | boolean $options = [], boolean $reuseMatchedParams = false ) : string |
$route |
string |
RouteInterface name |
$params |
array | Traversabl\Traversable |
Parameters to use in url generation, if any |
$options |
array | boolean |
RouteInterface-specific options to use in url generation, if any.
If boolean, and no fourth argument, used as $reuseMatchedParams. |
$reuseMatchedParams |
boolean |
Whether to reuse matched parameters |
리턴 |
string |
|