Method |
Description |
|
__construct ( UrlGenerator $url ) |
|
|
defaultLocale ( ) : string |
Get default locale |
|
isHidden ( string $slug ) : boolean |
Is locale slug hidden |
|
route ( string $name, array $parameters = [], array $extra = [], mixed $secure = null, mixed $slug = false ) : string |
Generate localized URL from named route |
|
uri ( string $uri, mixed $slug = false ) : string |
Generate localized URI |
|
url ( string $uri, array $extra = [], mixed $secure = null, mixed $slug = false ) : string |
Generate localized URL from URI |
|
workingLocale ( ) : string |
Get working locale or default on fail |
|