1 | <?php |
||
8 | class Url extends Base |
||
9 | { |
||
10 | protected $separator = '/'; |
||
11 | protected $translator; |
||
12 | |||
13 | 57 | public function __construct(Translator $translator) |
|
17 | |||
18 | 33 | public function trimUrl($url) |
|
22 | |||
23 | 20 | public function rawRouteUrl($locale, $route, array $options = []) |
|
28 | |||
29 | 31 | public function switchLocale($locale, $url, array $options = []) |
|
36 | |||
37 | 33 | public function addLocale($locale, $unlocalized, $options = []) |
|
42 | } |
||
43 |