1 | <?php |
||
12 | class RequestContext extends \Symfony\Component\Routing\RequestContext |
||
13 | { |
||
14 | use HasHeadersTrait; |
||
15 | |||
16 | /** |
||
17 | * @inheritdoc |
||
18 | */ |
||
19 | public function fromRequest(Request $request) |
||
25 | |||
26 | |||
27 | /** |
||
28 | * Get the root URL for the application. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function root() |
||
36 | |||
37 | |||
38 | /** |
||
39 | * Get the full URL for the request. |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function fullUrl() |
||
49 | |||
50 | /** |
||
51 | * Get the URL (no query string) for the request. |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function url() |
||
59 | |||
60 | /** |
||
61 | * Generates a normalized URI (URL) for the Request. |
||
62 | * |
||
63 | * @return string A normalized URI (URL) for the Request |
||
64 | * |
||
65 | * @see getQueryString() |
||
66 | */ |
||
67 | public function getUri() |
||
75 | |||
76 | /** |
||
77 | * @return string |
||
78 | */ |
||
79 | public function getSchemeAndHttpHost() |
||
83 | |||
84 | /** |
||
85 | * @return string |
||
86 | */ |
||
87 | public function getHttpHost() |
||
98 | } |