1 | <?php |
||
6 | class Request extends BaseRequest |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * Get the current path info for the request. |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | public function path() |
||
19 | |||
20 | /** |
||
21 | * Get the request method. |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | public function method() |
||
29 | |||
30 | /** |
||
31 | * Get the root URL |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function rootURL() |
||
39 | |||
40 | /** |
||
41 | * Return true if server HTTP_REFERER isset |
||
42 | * |
||
43 | * @return bool |
||
44 | */ |
||
45 | public function hasRefererURL() |
||
49 | |||
50 | /** |
||
51 | * Return server HTTP_REFERER |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function refererURL() |
||
59 | |||
60 | /** |
||
61 | * Creates a new request with values from PHP's super globals. |
||
62 | * |
||
63 | * @return Request A new request |
||
64 | */ |
||
65 | public static function createFromSymfonyGlobal() |
||
79 | } |
||
80 |