App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
Request.php
198 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static \Illuminate\Http\Request capture() |
| 7 | * @method static \Illuminate\Http\Request instance() |
| 8 | * @method static string method() |
| 9 | * @method static string root() |
| 10 | * @method static string url() |
| 11 | * @method static string fullUrl() |
| 12 | * @method static string fullUrlWithQuery(array $query) |
| 13 | * @method static string fullUrlWithoutQuery(array|string $keys) |
| 14 | * @method static string path() |
| 15 | * @method static string decodedPath() |
| 16 | * @method static string|null segment(int $index, string|null $default = null) |
| 17 | * @method static array segments() |
| 18 | * @method static bool is(mixed ...$patterns) |
| 19 | * @method static bool routeIs(mixed ...$patterns) |
| 20 | * @method static bool fullUrlIs(mixed ...$patterns) |
| 21 | * @method static string host() |
| 22 | * @method static string httpHost() |
| 23 | * @method static string schemeAndHttpHost() |
| 24 | * @method static bool ajax() |
| 25 | * @method static bool pjax() |
| 26 | * @method static bool prefetch() |
| 27 | * @method static bool secure() |
| 28 | * @method static string|null ip() |
| 29 | * @method static array ips() |
| 30 | * @method static string|null userAgent() |
| 31 | * @method static \Illuminate\Http\Request merge(array $input) |
| 32 | * @method static \Illuminate\Http\Request mergeIfMissing(array $input) |
| 33 | * @method static \Illuminate\Http\Request replace(array $input) |
| 34 | * @method static mixed get(string $key, mixed $default = null) |
| 35 | * @method static \Symfony\Component\HttpFoundation\ParameterBag|mixed json(string|null $key = null, mixed $default = null) |
| 36 | * @method static \Illuminate\Http\Request createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null) |
| 37 | * @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request) |
| 38 | * @method static \Illuminate\Http\Request duplicate(array|null $query = null, array|null $request = null, array|null $attributes = null, array|null $cookies = null, array|null $files = null, array|null $server = null) |
| 39 | * @method static bool hasSession(bool $skipIfUninitialized = false) |
| 40 | * @method static \Symfony\Component\HttpFoundation\Session\SessionInterface getSession() |
| 41 | * @method static \Illuminate\Contracts\Session\Session session() |
| 42 | * @method static void setLaravelSession(\Illuminate\Contracts\Session\Session $session) |
| 43 | * @method static void setRequestLocale(string $locale) |
| 44 | * @method static void setDefaultRequestLocale(string $locale) |
| 45 | * @method static mixed user(string|null $guard = null) |
| 46 | * @method static \Illuminate\Routing\Route|object|string|null route(string|null $param = null, mixed $default = null) |
| 47 | * @method static string fingerprint() |
| 48 | * @method static \Illuminate\Http\Request setJson(\Symfony\Component\HttpFoundation\ParameterBag $json) |
| 49 | * @method static \Closure getUserResolver() |
| 50 | * @method static \Illuminate\Http\Request setUserResolver(\Closure $callback) |
| 51 | * @method static \Closure getRouteResolver() |
| 52 | * @method static \Illuminate\Http\Request setRouteResolver(\Closure $callback) |
| 53 | * @method static array toArray() |
| 54 | * @method static void initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null) |
| 55 | * @method static \static createFromGlobals() |
| 56 | * @method static \static create(string $uri, string $method = 'GET', array $parameters = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null) |
| 57 | * @method static void setFactory(callable|null $callable) |
| 58 | * @method static void overrideGlobals() |
| 59 | * @method static void setTrustedProxies(array $proxies, int $trustedHeaderSet) |
| 60 | * @method static string[] getTrustedProxies() |
| 61 | * @method static int getTrustedHeaderSet() |
| 62 | * @method static void setTrustedHosts(array $hostPatterns) |
| 63 | * @method static string[] getTrustedHosts() |
| 64 | * @method static string normalizeQueryString(string|null $qs) |
| 65 | * @method static void enableHttpMethodParameterOverride() |
| 66 | * @method static bool getHttpMethodParameterOverride() |
| 67 | * @method static bool hasPreviousSession() |
| 68 | * @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session) |
| 69 | * @method static array getClientIps() |
| 70 | * @method static string|null getClientIp() |
| 71 | * @method static string getScriptName() |
| 72 | * @method static string getPathInfo() |
| 73 | * @method static string getBasePath() |
| 74 | * @method static string getBaseUrl() |
| 75 | * @method static string getScheme() |
| 76 | * @method static int|string|null getPort() |
| 77 | * @method static string|null getUser() |
| 78 | * @method static string|null getPassword() |
| 79 | * @method static string|null getUserInfo() |
| 80 | * @method static string getHttpHost() |
| 81 | * @method static string getRequestUri() |
| 82 | * @method static string getSchemeAndHttpHost() |
| 83 | * @method static string getUri() |
| 84 | * @method static string getUriForPath(string $path) |
| 85 | * @method static string getRelativeUriForPath(string $path) |
| 86 | * @method static string|null getQueryString() |
| 87 | * @method static bool isSecure() |
| 88 | * @method static string getHost() |
| 89 | * @method static void setMethod(string $method) |
| 90 | * @method static string getMethod() |
| 91 | * @method static string getRealMethod() |
| 92 | * @method static string|null getMimeType(string $format) |
| 93 | * @method static string[] getMimeTypes(string $format) |
| 94 | * @method static string|null getFormat(string|null $mimeType) |
| 95 | * @method static void setFormat(string|null $format, string|string[] $mimeTypes) |
| 96 | * @method static string|null getRequestFormat(string|null $default = 'html') |
| 97 | * @method static void setRequestFormat(string|null $format) |
| 98 | * @method static string|null getContentTypeFormat() |
| 99 | * @method static void setDefaultLocale(string $locale) |
| 100 | * @method static string getDefaultLocale() |
| 101 | * @method static void setLocale(string $locale) |
| 102 | * @method static string getLocale() |
| 103 | * @method static bool isMethod(string $method) |
| 104 | * @method static bool isMethodSafe() |
| 105 | * @method static bool isMethodIdempotent() |
| 106 | * @method static bool isMethodCacheable() |
| 107 | * @method static string|null getProtocolVersion() |
| 108 | * @method static string|resource getContent(bool $asResource = false) |
| 109 | * @method static \Symfony\Component\HttpFoundation\InputBag getPayload() |
| 110 | * @method static array getETags() |
| 111 | * @method static bool isNoCache() |
| 112 | * @method static string|null getPreferredFormat(string|null $default = 'html') |
| 113 | * @method static string|null getPreferredLanguage(string[] $locales = null) |
| 114 | * @method static string[] getLanguages() |
| 115 | * @method static string[] getCharsets() |
| 116 | * @method static string[] getEncodings() |
| 117 | * @method static string[] getAcceptableContentTypes() |
| 118 | * @method static bool isXmlHttpRequest() |
| 119 | * @method static bool preferSafeContent() |
| 120 | * @method static bool isFromTrustedProxy() |
| 121 | * @method static array filterPrecognitiveRules(array $rules) |
| 122 | * @method static bool isAttemptingPrecognition() |
| 123 | * @method static bool isPrecognitive() |
| 124 | * @method static bool isJson() |
| 125 | * @method static bool expectsJson() |
| 126 | * @method static bool wantsJson() |
| 127 | * @method static bool accepts(string|array $contentTypes) |
| 128 | * @method static string|null prefers(string|array $contentTypes) |
| 129 | * @method static bool acceptsAnyContentType() |
| 130 | * @method static bool acceptsJson() |
| 131 | * @method static bool acceptsHtml() |
| 132 | * @method static bool matchesType(string $actual, string $type) |
| 133 | * @method static string format(string $default = 'html') |
| 134 | * @method static string|array|null old(string|null $key = null, \Illuminate\Database\Eloquent\Model|string|array|null $default = null) |
| 135 | * @method static void flash() |
| 136 | * @method static void flashOnly(array|mixed $keys) |
| 137 | * @method static void flashExcept(array|mixed $keys) |
| 138 | * @method static void flush() |
| 139 | * @method static string|array|null server(string|null $key = null, string|array|null $default = null) |
| 140 | * @method static bool hasHeader(string $key) |
| 141 | * @method static string|array|null header(string|null $key = null, string|array|null $default = null) |
| 142 | * @method static string|null bearerToken() |
| 143 | * @method static bool exists(string|array $key) |
| 144 | * @method static bool has(string|array $key) |
| 145 | * @method static bool hasAny(string|array $keys) |
| 146 | * @method static \Illuminate\Http\Request|mixed whenHas(string $key, callable $callback, callable|null $default = null) |
| 147 | * @method static bool filled(string|array $key) |
| 148 | * @method static bool isNotFilled(string|array $key) |
| 149 | * @method static bool anyFilled(string|array $keys) |
| 150 | * @method static \Illuminate\Http\Request|mixed whenFilled(string $key, callable $callback, callable|null $default = null) |
| 151 | * @method static bool missing(string|array $key) |
| 152 | * @method static \Illuminate\Http\Request|mixed whenMissing(string $key, callable $callback, callable|null $default = null) |
| 153 | * @method static array keys() |
| 154 | * @method static array all(array|mixed|null $keys = null) |
| 155 | * @method static mixed input(string|null $key = null, mixed $default = null) |
| 156 | * @method static \Illuminate\Support\Stringable str(string $key, mixed $default = null) |
| 157 | * @method static \Illuminate\Support\Stringable string(string $key, mixed $default = null) |
| 158 | * @method static bool boolean(string|null $key = null, bool $default = false) |
| 159 | * @method static int integer(string $key, int $default = 0) |
| 160 | * @method static float float(string $key, float $default = 0) |
| 161 | * @method static \Illuminate\Support\Carbon|null date(string $key, string|null $format = null, string|null $tz = null) |
| 162 | * @method static object|null enum(string $key, string $enumClass) |
| 163 | * @method static \Illuminate\Support\Collection \IAWPSCOPED\collect(array|string|null $key = null) |
| 164 | * @method static array only(array|mixed $keys) |
| 165 | * @method static array except(array|mixed $keys) |
| 166 | * @method static string|array|null query(string|null $key = null, string|array|null $default = null) |
| 167 | * @method static string|array|null post(string|null $key = null, string|array|null $default = null) |
| 168 | * @method static bool hasCookie(string $key) |
| 169 | * @method static string|array|null cookie(string|null $key = null, string|array|null $default = null) |
| 170 | * @method static array allFiles() |
| 171 | * @method static bool hasFile(string $key) |
| 172 | * @method static \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null file(string|null $key = null, mixed $default = null) |
| 173 | * @method static never dd(mixed ...$keys) |
| 174 | * @method static \Illuminate\Http\Request dump(mixed $keys = []) |
| 175 | * @method static void macro(string $name, object|callable $macro) |
| 176 | * @method static void mixin(object $mixin, bool $replace = true) |
| 177 | * @method static bool hasMacro(string $name) |
| 178 | * @method static void flushMacros() |
| 179 | * @method static array validate(array $rules, ...$params) |
| 180 | * @method static array validateWithBag(string $errorBag, array $rules, ...$params) |
| 181 | * @method static bool hasValidSignature(bool $absolute = true) |
| 182 | * |
| 183 | * @see \Illuminate\Http\Request |
| 184 | * @internal |
| 185 | */ |
| 186 | class Request extends Facade |
| 187 | { |
| 188 | /** |
| 189 | * Get the registered name of the component. |
| 190 | * |
| 191 | * @return string |
| 192 | */ |
| 193 | protected static function getFacadeAccessor() |
| 194 | { |
| 195 | return 'request'; |
| 196 | } |
| 197 | } |
| 198 |