1 | <?php |
||
4 | class Request extends \Symfony\Component\HttpFoundation\Request |
||
5 | { |
||
6 | |||
7 | /** |
||
8 | * Get the current path info for the request. |
||
9 | * |
||
10 | * @return string |
||
11 | */ |
||
12 | public function path() |
||
17 | |||
18 | /** |
||
19 | * Get the request method. |
||
20 | * |
||
21 | * @return string |
||
22 | */ |
||
23 | public function method() |
||
27 | |||
28 | /** |
||
29 | * Get the root URL |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | public function rootURL() |
||
37 | |||
38 | /** |
||
39 | * Return true if server HTTP_REFERER isset |
||
40 | * |
||
41 | * @return bool |
||
42 | */ |
||
43 | public function hasRefererURL() |
||
47 | |||
48 | /** |
||
49 | * Return server HTTP_REFERER |
||
50 | * |
||
51 | * @return string |
||
52 | */ |
||
53 | public function refererURL() |
||
57 | |||
58 | /** |
||
59 | * Return IP address client |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function ip() |
||
67 | |||
68 | /** |
||
69 | * Return IP address client |
||
70 | * |
||
71 | * @return array |
||
72 | */ |
||
73 | public function ipAll() |
||
77 | } |
||
78 |