1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,58 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Support\Facades; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * @method static \Illuminate\Http\Request instance() |
|
7 |
- * @method static string method() |
|
8 |
- * @method static string root() |
|
9 |
- * @method static string url() |
|
10 |
- * @method static string fullUrl() |
|
11 |
- * @method static string fullUrlWithQuery(array $query) |
|
12 |
- * @method static string path() |
|
13 |
- * @method static string decodedPath() |
|
14 |
- * @method static string|null segment(int $index, string|null $default = null) |
|
15 |
- * @method static array segments() |
|
16 |
- * @method static bool is(...$patterns) |
|
17 |
- * @method static bool routeIs(...$patterns) |
|
18 |
- * @method static bool fullUrlIs(...$patterns) |
|
19 |
- * @method static bool ajax() |
|
20 |
- * @method static bool pjax() |
|
21 |
- * @method static bool secure() |
|
22 |
- * @method static string ip() |
|
23 |
- * @method static array ips() |
|
24 |
- * @method static string userAgent() |
|
25 |
- * @method static \Illuminate\Http\Request merge(array $input) |
|
26 |
- * @method static \Illuminate\Http\Request replace(array $input) |
|
27 |
- * @method static \Symfony\Component\HttpFoundation\ParameterBag|mixed json(string $key = null, $default = null) |
|
28 |
- * @method static \Illuminate\Session\Store session() |
|
29 |
- * @method static \Illuminate\Session\Store|null getSession() |
|
30 |
- * @method static void setLaravelSession(\Illuminate\Contracts\Session\Session $session) |
|
31 |
- * @method static mixed user(string|null $guard = null) |
|
32 |
- * @method static \Illuminate\Routing\Route|object|string route(string|null $param = null) |
|
33 |
- * @method static string fingerprint() |
|
34 |
- * @method static \Illuminate\Http\Request setJson(\Symfony\Component\HttpFoundation\ParameterBag $json) |
|
35 |
- * @method static \Closure getUserResolver() |
|
36 |
- * @method static \Illuminate\Http\Request setUserResolver(\Closure $callback) |
|
37 |
- * @method static \Closure getRouteResolver() |
|
38 |
- * @method static \Illuminate\Http\Request setRouteResolver(\Closure $callback) |
|
39 |
- * @method static array toArray() |
|
40 |
- * @method static bool offsetExists(string $offset) |
|
41 |
- * @method static mixed offsetGet(string $offset) |
|
42 |
- * @method static void offsetSet(string $offset, $value) |
|
43 |
- * @method static void offsetUnset(string $offset) |
|
44 |
- * |
|
45 |
- * @see \Illuminate\Http\Request |
|
46 |
- */ |
|
47 |
-class Request extends Facade |
|
48 |
-{ |
|
49 |
- /** |
|
50 |
- * Get the registered name of the component. |
|
51 |
- * |
|
52 |
- * @return string |
|
53 |
- */ |
|
54 |
- protected static function getFacadeAccessor() |
|
55 |
- { |
|
56 |
- return 'request'; |
|
57 |
- } |
|
58 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,58 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Support\Facades; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * @method static \Illuminate\Http\Request instance() |
|
7 |
+ * @method static string method() |
|
8 |
+ * @method static string root() |
|
9 |
+ * @method static string url() |
|
10 |
+ * @method static string fullUrl() |
|
11 |
+ * @method static string fullUrlWithQuery(array $query) |
|
12 |
+ * @method static string path() |
|
13 |
+ * @method static string decodedPath() |
|
14 |
+ * @method static string|null segment(int $index, string|null $default = null) |
|
15 |
+ * @method static array segments() |
|
16 |
+ * @method static bool is(...$patterns) |
|
17 |
+ * @method static bool routeIs(...$patterns) |
|
18 |
+ * @method static bool fullUrlIs(...$patterns) |
|
19 |
+ * @method static bool ajax() |
|
20 |
+ * @method static bool pjax() |
|
21 |
+ * @method static bool secure() |
|
22 |
+ * @method static string ip() |
|
23 |
+ * @method static array ips() |
|
24 |
+ * @method static string userAgent() |
|
25 |
+ * @method static \Illuminate\Http\Request merge(array $input) |
|
26 |
+ * @method static \Illuminate\Http\Request replace(array $input) |
|
27 |
+ * @method static \Symfony\Component\HttpFoundation\ParameterBag|mixed json(string $key = null, $default = null) |
|
28 |
+ * @method static \Illuminate\Session\Store session() |
|
29 |
+ * @method static \Illuminate\Session\Store|null getSession() |
|
30 |
+ * @method static void setLaravelSession(\Illuminate\Contracts\Session\Session $session) |
|
31 |
+ * @method static mixed user(string|null $guard = null) |
|
32 |
+ * @method static \Illuminate\Routing\Route|object|string route(string|null $param = null) |
|
33 |
+ * @method static string fingerprint() |
|
34 |
+ * @method static \Illuminate\Http\Request setJson(\Symfony\Component\HttpFoundation\ParameterBag $json) |
|
35 |
+ * @method static \Closure getUserResolver() |
|
36 |
+ * @method static \Illuminate\Http\Request setUserResolver(\Closure $callback) |
|
37 |
+ * @method static \Closure getRouteResolver() |
|
38 |
+ * @method static \Illuminate\Http\Request setRouteResolver(\Closure $callback) |
|
39 |
+ * @method static array toArray() |
|
40 |
+ * @method static bool offsetExists(string $offset) |
|
41 |
+ * @method static mixed offsetGet(string $offset) |
|
42 |
+ * @method static void offsetSet(string $offset, $value) |
|
43 |
+ * @method static void offsetUnset(string $offset) |
|
44 |
+ * |
|
45 |
+ * @see \Illuminate\Http\Request |
|
46 |
+ */ |
|
47 |
+class Request extends Facade |
|
48 |
+{ |
|
49 |
+ /** |
|
50 |
+ * Get the registered name of the component. |
|
51 |
+ * |
|
52 |
+ * @return string |
|
53 |
+ */ |
|
54 |
+ protected static function getFacadeAccessor() |
|
55 |
+ { |
|
56 |
+ return 'request'; |
|
57 |
+ } |
|
58 |
+} |