Helper for making easy links and getting urls that depend on the routes and router.
Set the router to use for assembling.
| Parameters: | RouteStackInterface – |
|---|---|
| Return type: | Url |
Set route match returned by the router.
| Parameters: | RouteMatch – |
|---|---|
| Return type: | self |
Generates an url given the name of a route.
| Parameters: |
|
|---|---|
| Return type: | string Url For the link href attribute |
| Throws : | ExceptionRuntimeException If no RouteStackInterface was provided |
| Throws : | ExceptionRuntimeException If no RouteMatch was provided |
| Throws : | ExceptionRuntimeException If RouteMatch didn’t contain a matched route name |