Méthode |
Description |
|
__construct ( Pagekit\Routing\Router $router, Filesystem $file, Pagekit\Filesystem\Locator $locator ) |
Constructor. |
|
__invoke ( $path = '', $parameters = [], $referenceType = UrlGenerator::ABSOLUTE_PATH ) |
Get shortcut. |
|
base ( mixed $referenceType = UrlGenerator::ABSOLUTE_PATH ) : string |
Gets the base path for the current request. |
|
current ( mixed $referenceType = UrlGenerator::ABSOLUTE_PATH ) : string |
Gets the URL for the current request. |
|
get ( string $path = '', mixed $parameters = [], mixed $referenceType = UrlGenerator::ABSOLUTE_PATH ) : string |
Gets the URL appending the URI to the base URI. |
|
getRoute ( string $name, mixed $parameters = [], mixed $referenceType = UrlGenerator::ABSOLUTE_PATH ) : string | false |
Gets the URL to a named route. |
|
getStatic ( string $path, mixed $parameters = [], mixed $referenceType = UrlGenerator::ABSOLUTE_PATH ) : string |
Gets the URL to a path resource. |
|
previous ( ) : string |
Gets the URL for the previous request. |
|