Request

Illuminate\Support\Facades\Request

class src/Illuminate/Support/Facades/Request.php

accepts

v11.0.0 以前から

static @method

static accepts(string|array $contentTypes): bool
  1. v11.0.0 追加
    変更後
    @method static accepts(string|array $contentTypes): bool

acceptsAnyContentType

v11.0.0 以前から

static @method

static acceptsAnyContentType(): bool
  1. v11.0.0 追加
    変更後
    @method static acceptsAnyContentType(): bool

acceptsHtml

v11.0.0 以前から

static @method

static acceptsHtml(): bool
  1. v11.0.0 追加
    変更後
    @method static acceptsHtml(): bool

acceptsJson

v11.0.0 以前から

static @method

static acceptsJson(): bool
  1. v11.0.0 追加
    変更後
    @method static acceptsJson(): bool

acceptsMarkdown

v12.55.0 から

static @method

static acceptsMarkdown(): bool
  1. v12.55.0 追加
    変更後
    @method static acceptsMarkdown(): bool

ajax

v11.0.0 以前から

static @method

static ajax(): bool
  1. v11.0.0 追加
    変更後
    @method static ajax(): bool

all

v11.0.0 以前から

static @method

static all(mixed $keys = null): array
  1. v11.0.0 追加
    変更後
    @method static all(array|mixed|null $keys = null): array
  2. v12.26.0 シグネチャ変更
    変更前
    @method static all(array|mixed|null $keys = null): array
    変更後
    @method static all(mixed $keys = null): array

allFiles

v11.0.0 以前から

static @method

static allFiles(): array
  1. v11.0.0 追加
    変更後
    @method static allFiles(): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static allFiles(): array
    変更後
    @method static allFiles(): array<string, \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static allFiles(): array<string, \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]>
    変更後
    @method static allFiles(): array

anyFilled

v11.0.0 以前から

static @method

static anyFilled(string|array $keys): bool
  1. v11.0.0 追加
    変更後
    @method static anyFilled(string|array $keys): bool

array

v11.38.0 から

static @method

static array(array|string|null $key = null): array
  1. v11.38.0 追加
    変更後
    @method static array(array|string|null $key = null): array

bearerToken

v11.0.0 以前から

static @method

static bearerToken(): string|null
  1. v11.0.0 追加
    変更後
    @method static bearerToken(): string|null

boolean

v11.0.0 以前から

static @method

static boolean(string|null $key = null, bool $default = false): bool
  1. v11.0.0 追加
    変更後
    @method static boolean(string|null $key = null, bool $default = false): bool

capture

v11.0.0 以前から

static @method

static capture(): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static capture(): \Illuminate\Http\Request

clamp

v12.50.0 から

static @method

static clamp(string $key, int|float $min, int|float $max, int|float $default = 0): float|int
  1. v12.50.0 追加
    変更後
    @method static clamp(string $key, int|float $min, int|float $max, int|float $default = 0): float|int

collect

v11.0.0 以前から

static @method

static collect(array|string|null $key = null): \Illuminate\Support\Collection
  1. v11.0.0 追加
    変更後
    @method static collect(array|string|null $key = null): \Illuminate\Support\Collection

create

v11.0.0 以前から

static @method

static create(string $uri, string $method = 'GET', array $parameters = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static create(string $uri, string $method = 'GET', array $parameters = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null): \Illuminate\Http\Request

createFrom

v11.0.0 以前から

static @method

static createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null): \Illuminate\Http\Request

createFromBase

v11.0.0 以前から

static @method

static createFromBase(\Symfony\Component\HttpFoundation\Request $request): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static createFromBase(\Symfony\Component\HttpFoundation\Request $request): \Illuminate\Http\Request

createFromGlobals

v11.0.0 以前から

static @method

static createFromGlobals(): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static createFromGlobals(): \Illuminate\Http\Request

date

v11.0.0 以前から

static @method

static date(string $key, string|null $format = null, \UnitEnum|string|null $tz = null): \Illuminate\Support\Carbon|null
  1. v11.0.0 追加
    変更後
    @method static date(string $key, string|null $format = null, string|null $tz = null): \Illuminate\Support\Carbon|null
  2. v12.21.0 シグネチャ変更
    変更前
    @method static date(string $key, string|null $format = null, string|null $tz = null): \Illuminate\Support\Carbon|null
    変更後
    @method static date(string $key, string|null $format = null, \UnitEnum|string|null $tz = null): \Illuminate\Support\Carbon|null

dd

v11.0.0 以前から

static @method

static dd(mixed ...$args): never
  1. v11.0.0 追加
    変更後
    @method static dd(mixed ...$args): never

decodedPath

v11.0.0 以前から

static @method

static decodedPath(): string
  1. v11.0.0 追加
    変更後
    @method static decodedPath(): string

dump

v11.0.0 以前から

static @method

static dump(mixed $keys = []): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static dump(mixed $keys = []): \Illuminate\Http\Request

duplicate

v11.0.0 以前から

static @method

static 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): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static 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): \Illuminate\Http\Request

enableHttpMethodParameterOverride

v11.0.0 以前から

static @method

static enableHttpMethodParameterOverride(): void
  1. v11.0.0 追加
    変更後
    @method static enableHttpMethodParameterOverride(): void

enum

v13.9.0 から

static @method

static enum(string $key, string $enumClass, \BackedEnum|null $default = null): \BackedEnum|\BackedEnum|null
  1. v11.0.0 追加
    変更後
    @method static enum(string $key, string $enumClass): object|null
  2. v11.34.0 シグネチャ変更
    変更前
    @method static enum(string $key, string $enumClass): object|null
    変更後
    @method static enum(string $key, string $enumClass): \BackedEnum|null
  3. v12.15.0 シグネチャ変更
    変更前
    @method static enum(string $key, string $enumClass): \BackedEnum|null
    変更後
    @method static enum(string $key, string $enumClass, \BackedEnum|null $default = null): \BackedEnum|null
  4. v12.50.0 削除
    変更前
    @method static enum(string $key, string $enumClass, \BackedEnum|null $default = null): \BackedEnum|null
  5. v12.59.0 追加
    変更後
    @method static enum(string $key, string $enumClass, \BackedEnum|null $default = null): \BackedEnum|\BackedEnum|null
  6. v13.0.0 削除
    変更前
    @method static enum(string $key, string $enumClass, \BackedEnum|null $default = null): \BackedEnum|\BackedEnum|null
  7. v13.9.0 追加
    変更後
    @method static enum(string $key, string $enumClass, \BackedEnum|null $default = null): \BackedEnum|\BackedEnum|null

enums

v11.33.0 から

static @method

static enums(string $key, string $enumClass): \BackedEnum[]
  1. v11.33.0 追加
    変更後
    @method static enums(string $key, string $enumClass): object[]
  2. v11.34.0 シグネチャ変更
    変更前
    @method static enums(string $key, string $enumClass): object[]
    変更後
    @method static enums(string $key, string $enumClass): \BackedEnum[]
  3. v13.4.0 シグネチャ変更
    変更前
    @method static enums(string $key, string $enumClass): \BackedEnum[]
    変更後
    @method static enums(string $key, string<\BackedEnum> $enumClass): \BackedEnum[]
  4. v13.6.0 シグネチャ変更
    変更前
    @method static enums(string $key, string<\BackedEnum> $enumClass): \BackedEnum[]
    変更後
    @method static enums(string $key, string $enumClass): \BackedEnum[]

except

v11.0.0 以前から

static @method

static except(mixed $keys): array
  1. v11.0.0 追加
    変更後
    @method static except(array|mixed $keys): array
  2. v12.26.0 シグネチャ変更
    変更前
    @method static except(array|mixed $keys): array
    変更後
    @method static except(mixed $keys): array

exists

v11.0.0 以前から

static @method

static exists(string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static exists(string|array $key): bool

expectsJson

v11.0.0 以前から

static @method

static expectsJson(): bool
  1. v11.0.0 追加
    変更後
    @method static expectsJson(): bool

file

v12.13.0 から

static @method

static file(string|null $key = null, mixed $default = null): array|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
  1. v11.0.0 追加
    変更後
    @method static file(string|null $key = null, mixed $default = null): \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null
  2. v12.4.0 削除
    変更前
    @method static file(string|null $key = null, mixed $default = null): \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null
  3. v12.13.0 追加
    変更後
    @method static file(string|null $key = null, mixed $default = null): array|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
  4. v13.4.0 シグネチャ変更
    変更前
    @method static file(string|null $key = null, mixed $default = null): array|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
    変更後
    @method static file(string|null $key = null, mixed $default = null): array<string, \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]>|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
  5. v13.6.0 シグネチャ変更
    変更前
    @method static file(string|null $key = null, mixed $default = null): array<string, \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]>|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
    変更後
    @method static file(string|null $key = null, mixed $default = null): array|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null

filled

v11.0.0 以前から

static @method

static filled(string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static filled(string|array $key): bool

filterPrecognitiveRules

v11.0.0 以前から

static @method

static filterPrecognitiveRules(array $rules): array
  1. v11.0.0 追加
    変更後
    @method static filterPrecognitiveRules(array $rules): array

fingerprint

v11.0.0 以前から

static @method

static fingerprint(): string
  1. v11.0.0 追加
    変更後
    @method static fingerprint(): string

flash

v11.0.0 以前から

static @method

static flash(): void
  1. v11.0.0 追加
    変更後
    @method static flash(): void

flashExcept

v11.0.0 以前から

static @method

static flashExcept(mixed $keys): void
  1. v11.0.0 追加
    変更後
    @method static flashExcept(array|mixed $keys): void
  2. v12.26.0 シグネチャ変更
    変更前
    @method static flashExcept(array|mixed $keys): void
    変更後
    @method static flashExcept(mixed $keys): void

flashOnly

v11.0.0 以前から

static @method

static flashOnly(mixed $keys): void
  1. v11.0.0 追加
    変更後
    @method static flashOnly(array|mixed $keys): void
  2. v12.26.0 シグネチャ変更
    変更前
    @method static flashOnly(array|mixed $keys): void
    変更後
    @method static flashOnly(mixed $keys): void

float

v11.0.0 以前から

static @method

static float(string $key, float $default = 0): float
  1. v11.0.0 追加
    変更後
    @method static float(string $key, float $default = 0): float

fluent

v11.34.0 から

static @method

static fluent(array|string|null $key = null, array $default = []): \Illuminate\Support\Fluent
  1. v11.34.0 追加
    変更後
    @method static fluent(array|string|null $key = null): \Illuminate\Support\Fluent
  2. v12.40.0 シグネチャ変更
    変更前
    @method static fluent(array|string|null $key = null): \Illuminate\Support\Fluent
    変更後
    @method static fluent(array|string|null $key = null, array $default = []): \Illuminate\Support\Fluent

flush

v11.0.0 以前から

static @method

static flush(): void
  1. v11.0.0 追加
    変更後
    @method static flush(): void

flushMacros

v11.0.0 以前から

static @method

static flushMacros(): void
  1. v11.0.0 追加
    変更後
    @method static flushMacros(): void

format

v11.0.0 以前から

static @method

static format(string $default = 'html'): string
  1. v11.0.0 追加
    変更後
    @method static format(string $default = 'html'): string

fullUrl

v11.0.0 以前から

static @method

static fullUrl(): string
  1. v11.0.0 追加
    変更後
    @method static fullUrl(): string

fullUrlIs

v11.0.0 以前から

static @method

static fullUrlIs(mixed ...$patterns): bool
  1. v11.0.0 追加
    変更後
    @method static fullUrlIs(mixed ...$patterns): bool

fullUrlWithoutQuery

v11.0.0 以前から

static @method

static fullUrlWithoutQuery(array|string $keys): string
  1. v11.0.0 追加
    変更後
    @method static fullUrlWithoutQuery(array|string $keys): string

fullUrlWithQuery

v11.0.0 以前から

static @method

static fullUrlWithQuery(array $query): string
  1. v11.0.0 追加
    変更後
    @method static fullUrlWithQuery(array $query): string

get

v11.0.0 以前から

v12.51.0 で削除

  1. v11.0.0 追加
    変更後
    @method static get(string $key, mixed $default = null): mixed
  2. v12.51.0 削除
    変更前
    @method static get(string $key, mixed $default = null): mixed

getAcceptableContentTypes

v11.0.0 以前から

static @method

static getAcceptableContentTypes(): array
  1. v11.0.0 追加
    変更後
    @method static getAcceptableContentTypes(): string[]
  2. v12.40.0 シグネチャ変更
    変更前
    @method static getAcceptableContentTypes(): string[]
    変更後
    @method static getAcceptableContentTypes(): array

getAllowedHttpMethodOverride

v12.41.0 から

static @method

static getAllowedHttpMethodOverride(): string[]|null
  1. v11.47.0 追加
    変更後
    @method static getAllowedHttpMethodOverride(): array|null
  2. v11.48.0 シグネチャ変更
    変更前
    @method static getAllowedHttpMethodOverride(): array|null
    変更後
    @method static getAllowedHttpMethodOverride(): string[]|null
  3. v12.0.0 削除
    変更前
    @method static getAllowedHttpMethodOverride(): string[]|null
  4. v12.41.0 追加
    変更後
    @method static getAllowedHttpMethodOverride(): array|null
  5. v12.44.0 シグネチャ変更
    変更前
    @method static getAllowedHttpMethodOverride(): array|null
    変更後
    @method static getAllowedHttpMethodOverride(): string[]|null

getBasePath

v11.0.0 以前から

static @method

static getBasePath(): string
  1. v11.0.0 追加
    変更後
    @method static getBasePath(): string

getBaseUrl

v11.0.0 以前から

static @method

static getBaseUrl(): string
  1. v11.0.0 追加
    変更後
    @method static getBaseUrl(): string

getCharsets

v11.0.0 以前から

static @method

static getCharsets(): string[]
  1. v11.0.0 追加
    変更後
    @method static getCharsets(): string[]

getClientIp

v11.0.0 以前から

static @method

static getClientIp(): string|null
  1. v11.0.0 追加
    変更後
    @method static getClientIp(): string|null

getClientIps

v11.0.0 以前から

static @method

static getClientIps(): array
  1. v11.0.0 追加
    変更後
    @method static getClientIps(): array

getContent

v11.0.0 以前から

static @method

static getContent(bool $asResource = false): string|resource
  1. v11.0.0 追加
    変更後
    @method static getContent(bool $asResource = false): string|resource

getContentTypeFormat

v11.0.0 以前から

static @method

static getContentTypeFormat(): string|null
  1. v11.0.0 追加
    変更後
    @method static getContentTypeFormat(): string|null

getDefaultLocale

v11.0.0 以前から

static @method

static getDefaultLocale(): string
  1. v11.0.0 追加
    変更後
    @method static getDefaultLocale(): string

getEncodings

v11.0.0 以前から

static @method

static getEncodings(): string[]
  1. v11.0.0 追加
    変更後
    @method static getEncodings(): string[]

getETags

v11.0.0 以前から

static @method

static getETags(): array
  1. v11.0.0 追加
    変更後
    @method static getETags(): array

getFormat

v11.0.0 以前から

static @method

static getFormat(string|null $mimeType, bool $subtypeFallback = null): string|null
  1. v11.0.0 追加
    変更後
    @method static getFormat(string|null $mimeType): string|null
  2. v11.47.0 シグネチャ変更
    変更前
    @method static getFormat(string|null $mimeType): string|null
    変更後
    @method static getFormat(string|null $mimeType, bool $subtypeFallback = null): string|null
  3. v12.0.0 シグネチャ変更
    変更前
    @method static getFormat(string|null $mimeType, bool $subtypeFallback = null): string|null
    変更後
    @method static getFormat(string|null $mimeType): string|null
  4. v12.41.0 シグネチャ変更
    変更前
    @method static getFormat(string|null $mimeType): string|null
    変更後
    @method static getFormat(string|null $mimeType, bool $subtypeFallback = null): string|null

getHost

v11.0.0 以前から

static @method

static getHost(): string
  1. v11.0.0 追加
    変更後
    @method static getHost(): string

getHttpHost

v11.0.0 以前から

static @method

static getHttpHost(): string
  1. v11.0.0 追加
    変更後
    @method static getHttpHost(): string

getHttpMethodParameterOverride

v11.0.0 以前から

static @method

static getHttpMethodParameterOverride(): bool
  1. v11.0.0 追加
    変更後
    @method static getHttpMethodParameterOverride(): bool

getLanguages

v11.0.0 以前から

static @method

static getLanguages(): string[]
  1. v11.0.0 追加
    変更後
    @method static getLanguages(): string[]

getLocale

v11.0.0 以前から

static @method

static getLocale(): string
  1. v11.0.0 追加
    変更後
    @method static getLocale(): string

getMethod

v11.0.0 以前から

static @method

static getMethod(): string
  1. v11.0.0 追加
    変更後
    @method static getMethod(): string

getMimeType

v11.0.0 以前から

static @method

static getMimeType(string $format): string|null
  1. v11.0.0 追加
    変更後
    @method static getMimeType(string $format): string|null

getMimeTypes

v11.0.0 以前から

static @method

static getMimeTypes(string $format): string[]
  1. v11.0.0 追加
    変更後
    @method static getMimeTypes(string $format): string[]

getPassword

v11.0.0 以前から

static @method

static getPassword(): string|null
  1. v11.0.0 追加
    変更後
    @method static getPassword(): string|null

getPathInfo

v11.0.0 以前から

static @method

static getPathInfo(): string
  1. v11.0.0 追加
    変更後
    @method static getPathInfo(): string

getPayload

v11.0.0 以前から

static @method

static getPayload(): \Symfony\Component\HttpFoundation\InputBag
  1. v11.0.0 追加
    変更後
    @method static getPayload(): \Symfony\Component\HttpFoundation\InputBag

getPort

v11.0.0 以前から

static @method

static getPort(): int|string|null
  1. v11.0.0 追加
    変更後
    @method static getPort(): int|string|null

getPreferredFormat

v11.0.0 以前から

static @method

static getPreferredFormat(string|null $default = 'html'): string|null
  1. v11.0.0 追加
    変更後
    @method static getPreferredFormat(string|null $default = 'html'): string|null

getPreferredLanguage

v11.0.0 以前から

static @method

static getPreferredLanguage(string[] $locales = null): string|null
  1. v11.0.0 追加
    変更後
    @method static getPreferredLanguage(string[] $locales = null): string|null

getProtocolVersion

v11.0.0 以前から

static @method

static getProtocolVersion(): string|null
  1. v11.0.0 追加
    変更後
    @method static getProtocolVersion(): string|null

getQueryString

v11.0.0 以前から

static @method

static getQueryString(): string|null
  1. v11.0.0 追加
    変更後
    @method static getQueryString(): string|null

getRealMethod

v11.0.0 以前から

static @method

static getRealMethod(): string
  1. v11.0.0 追加
    変更後
    @method static getRealMethod(): string

getRelativeUriForPath

v11.0.0 以前から

static @method

static getRelativeUriForPath(string $path): string
  1. v11.0.0 追加
    変更後
    @method static getRelativeUriForPath(string $path): string

getRequestFormat

v11.0.0 以前から

static @method

static getRequestFormat(string|null $default = 'html'): string|null
  1. v11.0.0 追加
    変更後
    @method static getRequestFormat(string|null $default = 'html'): string|null

getRequestUri

v11.0.0 以前から

static @method

static getRequestUri(): string
  1. v11.0.0 追加
    変更後
    @method static getRequestUri(): string

getRouteResolver

v11.0.0 以前から

static @method

static getRouteResolver(): \Closure
  1. v11.0.0 追加
    変更後
    @method static getRouteResolver(): \Closure

getScheme

v11.0.0 以前から

static @method

static getScheme(): string
  1. v11.0.0 追加
    変更後
    @method static getScheme(): string

getSchemeAndHttpHost

v11.0.0 以前から

static @method

static getSchemeAndHttpHost(): string
  1. v11.0.0 追加
    変更後
    @method static getSchemeAndHttpHost(): string

getScriptName

v11.0.0 以前から

static @method

static getScriptName(): string
  1. v11.0.0 追加
    変更後
    @method static getScriptName(): string

getSession

v11.0.0 以前から

static @method

static getSession(): \Symfony\Component\HttpFoundation\Session\SessionInterface
  1. v11.0.0 追加
    変更後
    @method static getSession(): \Symfony\Component\HttpFoundation\Session\SessionInterface

getTrustedHeaderSet

v11.0.0 以前から

static @method

static getTrustedHeaderSet(): int
  1. v11.0.0 追加
    変更後
    @method static getTrustedHeaderSet(): int

getTrustedHosts

v11.0.0 以前から

static @method

static getTrustedHosts(): string[]
  1. v11.0.0 追加
    変更後
    @method static getTrustedHosts(): string[]

getTrustedProxies

v11.0.0 以前から

static @method

static getTrustedProxies(): string[]
  1. v11.0.0 追加
    変更後
    @method static getTrustedProxies(): string[]

getUri

v11.0.0 以前から

static @method

static getUri(): string
  1. v11.0.0 追加
    変更後
    @method static getUri(): string

getUriForPath

v11.0.0 以前から

static @method

static getUriForPath(string $path): string
  1. v11.0.0 追加
    変更後
    @method static getUriForPath(string $path): string

getUser

v11.0.0 以前から

static @method

static getUser(): string|null
  1. v11.0.0 追加
    変更後
    @method static getUser(): string|null

getUserInfo

v11.0.0 以前から

static @method

static getUserInfo(): string|null
  1. v11.0.0 追加
    変更後
    @method static getUserInfo(): string|null

getUserResolver

v11.0.0 以前から

static @method

static getUserResolver(): \Closure
  1. v11.0.0 追加
    変更後
    @method static getUserResolver(): \Closure

has

v11.0.0 以前から

static @method

static has(string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static has(string|array $key): bool

hasAny

v11.0.0 以前から

static @method

static hasAny(string|array $keys): bool
  1. v11.0.0 追加
    変更後
    @method static hasAny(string|array $keys): bool

hasCookie

v11.0.0 以前から

static @method

static hasCookie(string $key): bool
  1. v11.0.0 追加
    変更後
    @method static hasCookie(string $key): bool

hasFile

v11.0.0 以前から

static @method

static hasFile(string $key): bool
  1. v11.0.0 追加
    変更後
    @method static hasFile(string $key): bool

hasHeader

v11.0.0 以前から

static @method

static hasHeader(string $key): bool
  1. v11.0.0 追加
    変更後
    @method static hasHeader(string $key): bool

hasMacro

v11.0.0 以前から

static @method

static hasMacro(string $name): bool
  1. v11.0.0 追加
    変更後
    @method static hasMacro(string $name): bool

hasPreviousSession

v11.0.0 以前から

static @method

static hasPreviousSession(): bool
  1. v11.0.0 追加
    変更後
    @method static hasPreviousSession(): bool

hasSession

v11.0.0 以前から

static @method

static hasSession(bool $skipIfUninitialized = false): bool
  1. v11.0.0 追加
    変更後
    @method static hasSession(bool $skipIfUninitialized = false): bool

hasValidRelativeSignature

v12.20.0 から

static @method

static hasValidRelativeSignature(): bool
  1. v12.20.0 追加
    変更後
    @method static hasValidRelativeSignature(): bool

hasValidRelativeSignatureWhileIgnoring

v12.20.0 から

static @method

static hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []): bool
  1. v12.20.0 追加
    変更後
    @method static hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []): bool

hasValidSignature

v11.0.0 以前から

static @method

static hasValidSignature(bool $absolute = true): bool
  1. v11.0.0 追加
    変更後
    @method static hasValidSignature(bool $absolute = true): bool

hasValidSignatureWhileIgnoring

v12.20.0 から

static @method

static hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true): bool
  1. v12.20.0 追加
    変更後
    @method static hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true): bool

host

v11.0.0 以前から

static @method

static host(): string
  1. v11.0.0 追加
    変更後
    @method static host(): string

httpHost

v11.0.0 以前から

static @method

static httpHost(): string
  1. v11.0.0 追加
    変更後
    @method static httpHost(): string

image

v13.20.0 から

static @method

static image(string $key): \Illuminate\Image\Image|null
  1. v13.20.0 追加
    変更後
    @method static image(string $key): \Illuminate\Image\Image|null

initialize

v11.0.0 以前から

static @method

static initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null): void
  1. v11.0.0 追加
    変更後
    @method static initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null): void

input

v11.0.0 以前から

static @method

static input(string|null $key = null, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static input(string|null $key = null, mixed $default = null): mixed

instance

v11.0.0 以前から

static @method

static instance(): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static instance(): \Illuminate\Http\Request

integer

v11.0.0 以前から

static @method

static integer(string $key, int $default = 0): int
  1. v11.0.0 追加
    変更後
    @method static integer(string $key, int $default = 0): int

interval

v12.54.0 から

static @method

static interval(string $key, \Carbon\Unit|string|null $unit = null): \Carbon\CarbonInterval|null
  1. v12.54.0 追加
    変更後
    @method static interval(string $key, \Carbon\Unit|string|null $unit = null): \Carbon\CarbonInterval|null

ip

v11.0.0 以前から

static @method

static ip(): string|null
  1. v11.0.0 追加
    変更後
    @method static ip(): string|null

ips

v11.0.0 以前から

static @method

static ips(): array
  1. v11.0.0 追加
    変更後
    @method static ips(): array

is

v11.0.0 以前から

static @method

static is(mixed ...$patterns): bool
  1. v11.0.0 追加
    変更後
    @method static is(mixed ...$patterns): bool

isAttemptingPrecognition

v11.0.0 以前から

static @method

static isAttemptingPrecognition(): bool
  1. v11.0.0 追加
    変更後
    @method static isAttemptingPrecognition(): bool

isFromTrustedProxy

v11.0.0 以前から

static @method

static isFromTrustedProxy(): bool
  1. v11.0.0 追加
    変更後
    @method static isFromTrustedProxy(): bool

isJson

v11.0.0 以前から

static @method

static isJson(): bool
  1. v11.0.0 追加
    変更後
    @method static isJson(): bool

isMethod

v11.0.0 以前から

static @method

static isMethod(string $method): bool
  1. v11.0.0 追加
    変更後
    @method static isMethod(string $method): bool

isMethodCacheable

v11.0.0 以前から

static @method

static isMethodCacheable(): bool
  1. v11.0.0 追加
    変更後
    @method static isMethodCacheable(): bool

isMethodIdempotent

v11.0.0 以前から

static @method

static isMethodIdempotent(): bool
  1. v11.0.0 追加
    変更後
    @method static isMethodIdempotent(): bool

isMethodSafe

v11.0.0 以前から

static @method

static isMethodSafe(): bool
  1. v11.0.0 追加
    変更後
    @method static isMethodSafe(): bool

isNoCache

v11.0.0 以前から

static @method

static isNoCache(): bool
  1. v11.0.0 追加
    変更後
    @method static isNoCache(): bool

isNotFilled

v11.0.0 以前から

static @method

static isNotFilled(string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static isNotFilled(string|array $key): bool

isPrecognitive

v11.0.0 以前から

static @method

static isPrecognitive(): bool
  1. v11.0.0 追加
    変更後
    @method static isPrecognitive(): bool

isSecure

v11.0.0 以前から

static @method

static isSecure(): bool
  1. v11.0.0 追加
    変更後
    @method static isSecure(): bool

isXmlHttpRequest

v11.0.0 以前から

static @method

static isXmlHttpRequest(): bool
  1. v11.0.0 追加
    変更後
    @method static isXmlHttpRequest(): bool

json

v11.0.0 以前から

static @method

static json(string|null $key = null, mixed $default = null): \Symfony\Component\HttpFoundation\InputBag|mixed
  1. v11.0.0 追加
    変更後
    @method static json(string|null $key = null, mixed $default = null): \Symfony\Component\HttpFoundation\InputBag|mixed

keys

v11.0.0 以前から

static @method

static keys(): array
  1. v11.0.0 追加
    変更後
    @method static keys(): array

macro

v11.0.0 以前から

static @method

static macro(string $name, object|callable $macro): void
  1. v11.0.0 追加
    変更後
    @method static macro(string $name, object|callable $macro): void
  2. v11.8.0 シグネチャ変更
    変更前
    @method static macro(string $name, object|callable $macro): void
    変更後
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
  3. v11.23.3 シグネチャ変更
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

matchesType

v11.0.0 以前から

static @method

static matchesType(string $actual, string $type): bool
  1. v11.0.0 追加
    変更後
    @method static matchesType(string $actual, string $type): bool

merge

v11.0.0 以前から

static @method

static merge(array $input): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static merge(array $input): \Illuminate\Http\Request

mergeIfMissing

v11.0.0 以前から

static @method

static mergeIfMissing(array $input): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static mergeIfMissing(array $input): \Illuminate\Http\Request

method

v11.0.0 以前から

static @method

static method(): string
  1. v11.0.0 追加
    変更後
    @method static method(): string

missing

v11.0.0 以前から

static @method

static missing(string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static missing(string|array $key): bool

mixin

v11.0.0 以前から

static @method

static mixin(object $mixin, bool $replace = true): void
  1. v11.0.0 追加
    変更後
    @method static mixin(object $mixin, bool $replace = true): void

normalizeQueryString

v11.0.0 以前から

static @method

static normalizeQueryString(string|null $qs): string
  1. v11.0.0 追加
    変更後
    @method static normalizeQueryString(string|null $qs): string

old

v11.0.0 以前から

static @method

static old(string|null $key = null, \Illuminate\Database\Eloquent\Model|string|array|null $default = null): string|array|null
  1. v11.0.0 追加
    変更後
    @method static old(string|null $key = null, \Illuminate\Database\Eloquent\Model|string|array|null $default = null): string|array|null

only

v11.0.0 以前から

static @method

static only(mixed $keys): array
  1. v11.0.0 追加
    変更後
    @method static only(array|mixed $keys): array
  2. v12.26.0 シグネチャ変更
    変更前
    @method static only(array|mixed $keys): array
    変更後
    @method static only(mixed $keys): array

overrideGlobals

v11.0.0 以前から

static @method

static overrideGlobals(): void
  1. v11.0.0 追加
    変更後
    @method static overrideGlobals(): void

path

v11.0.0 以前から

static @method

static path(): string
  1. v11.0.0 追加
    変更後
    @method static path(): string

pjax

v11.0.0 以前から

static @method

static pjax(): bool
  1. v11.0.0 追加
    変更後
    @method static pjax(): bool

post

v11.0.0 以前から

static @method

static post(string|null $key = null, string|array|null $default = null): string|array|null
  1. v11.0.0 追加
    変更後
    @method static post(string|null $key = null, string|array|null $default = null): string|array|null

prefers

v11.0.0 以前から

static @method

static prefers(string|array $contentTypes): string|null
  1. v11.0.0 追加
    変更後
    @method static prefers(string|array $contentTypes): string|null

preferSafeContent

v11.0.0 以前から

static @method

static preferSafeContent(): bool
  1. v11.0.0 追加
    変更後
    @method static preferSafeContent(): bool

prefetch

v11.0.0 以前から

static @method

static prefetch(): bool
  1. v11.0.0 追加
    変更後
    @method static prefetch(): bool

query

v11.0.0 以前から

static @method

static query(string|null $key = null, string|array|null $default = null): string|array|null
  1. v11.0.0 追加
    変更後
    @method static query(string|null $key = null, string|array|null $default = null): string|array|null

replace

v11.0.0 以前から

static @method

static replace(array $input): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static replace(array $input): \Illuminate\Http\Request

root

v11.0.0 以前から

static @method

static root(): string
  1. v11.0.0 追加
    変更後
    @method static root(): string

route

v11.0.0 以前から

static @method

static route(string|null $param = null, mixed $default = null): \Illuminate\Routing\Route|object|string|null
  1. v11.0.0 追加
    変更後
    @method static route(string|null $param = null, mixed $default = null): \Illuminate\Routing\Route|object|string|null

routeIs

v11.0.0 以前から

static @method

static routeIs(mixed ...$patterns): bool
  1. v11.0.0 追加
    変更後
    @method static routeIs(mixed ...$patterns): bool

schemeAndHttpHost

v11.0.0 以前から

static @method

static schemeAndHttpHost(): string
  1. v11.0.0 追加
    変更後
    @method static schemeAndHttpHost(): string

secure

v11.0.0 以前から

static @method

static secure(): bool
  1. v11.0.0 追加
    変更後
    @method static secure(): bool

segment

v11.0.0 以前から

static @method

static segment(int $index, string|null $default = null): string|null
  1. v11.0.0 追加
    変更後
    @method static segment(int $index, string|null $default = null): string|null

segments

v11.0.0 以前から

static @method

static segments(): array
  1. v11.0.0 追加
    変更後
    @method static segments(): array

server

v11.0.0 以前から

static @method

static server(string|null $key = null, string|array|null $default = null): string|array|null
  1. v11.0.0 追加
    変更後
    @method static server(string|null $key = null, string|array|null $default = null): string|array|null

session

v11.0.0 以前から

static @method

static session(): \Illuminate\Contracts\Session\Session
  1. v11.0.0 追加
    変更後
    @method static session(): \Illuminate\Contracts\Session\Session

setAllowedHttpMethodOverride

v12.41.0 から

static @method

static setAllowedHttpMethodOverride(string[]|null $methods): void
  1. v11.47.0 追加
    変更後
    @method static setAllowedHttpMethodOverride(array|null $methods): void
  2. v11.48.0 シグネチャ変更
    変更前
    @method static setAllowedHttpMethodOverride(array|null $methods): void
    変更後
    @method static setAllowedHttpMethodOverride(string[]|null $methods): void
  3. v12.0.0 削除
    変更前
    @method static setAllowedHttpMethodOverride(string[]|null $methods): void
  4. v12.41.0 追加
    変更後
    @method static setAllowedHttpMethodOverride(array|null $methods): void
  5. v12.44.0 シグネチャ変更
    変更前
    @method static setAllowedHttpMethodOverride(array|null $methods): void
    変更後
    @method static setAllowedHttpMethodOverride(string[]|null $methods): void

setDefaultLocale

v11.0.0 以前から

static @method

static setDefaultLocale(string $locale): void
  1. v11.0.0 追加
    変更後
    @method static setDefaultLocale(string $locale): void

setDefaultRequestLocale

v11.0.0 以前から

static @method

static setDefaultRequestLocale(string $locale): void
  1. v11.0.0 追加
    変更後
    @method static setDefaultRequestLocale(string $locale): void

setFactory

v11.0.0 以前から

static @method

static setFactory(callable|null $callable): void
  1. v11.0.0 追加
    変更後
    @method static setFactory(callable|null $callable): void

setFormat

v11.0.0 以前から

static @method

static setFormat(string $format, string|string[] $mimeTypes): void
  1. v11.0.0 追加
    変更後
    @method static setFormat(string|null $format, string|string[] $mimeTypes): void
  2. v11.47.0 シグネチャ変更
    変更前
    @method static setFormat(string|null $format, string|string[] $mimeTypes): void
    変更後
    @method static setFormat(string $format, string|string[] $mimeTypes): void
  3. v12.0.0 シグネチャ変更
    変更前
    @method static setFormat(string $format, string|string[] $mimeTypes): void
    変更後
    @method static setFormat(string|null $format, string|string[] $mimeTypes): void
  4. v12.41.0 シグネチャ変更
    変更前
    @method static setFormat(string|null $format, string|string[] $mimeTypes): void
    変更後
    @method static setFormat(string $format, string|string[] $mimeTypes): void

setJson

v11.0.0 以前から

static @method

static setJson(\Symfony\Component\HttpFoundation\InputBag $json): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static setJson(\Symfony\Component\HttpFoundation\InputBag $json): \Illuminate\Http\Request

setLaravelSession

v11.0.0 以前から

static @method

static setLaravelSession(\Illuminate\Contracts\Session\Session $session): void
  1. v11.0.0 追加
    変更後
    @method static setLaravelSession(\Illuminate\Contracts\Session\Session $session): void

setLocale

v11.0.0 以前から

static @method

static setLocale(string $locale): void
  1. v11.0.0 追加
    変更後
    @method static setLocale(string $locale): void

setMethod

v11.0.0 以前から

static @method

static setMethod(string $method): void
  1. v11.0.0 追加
    変更後
    @method static setMethod(string $method): void

setRequestFormat

v11.0.0 以前から

static @method

static setRequestFormat(string|null $format): void
  1. v11.0.0 追加
    変更後
    @method static setRequestFormat(string|null $format): void

setRequestLocale

v11.0.0 以前から

static @method

static setRequestLocale(string $locale): void
  1. v11.0.0 追加
    変更後
    @method static setRequestLocale(string $locale): void

setRouteResolver

v11.0.0 以前から

static @method

static setRouteResolver(\Closure $callback): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static setRouteResolver(\Closure $callback): \Illuminate\Http\Request

setSession

v11.0.0 以前から

static @method

static setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session): void
  1. v11.0.0 追加
    変更後
    @method static setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session): void

setTrustedHosts

v11.0.0 以前から

static @method

static setTrustedHosts(array $hostPatterns): void
  1. v11.0.0 追加
    変更後
    @method static setTrustedHosts(array $hostPatterns): void

setTrustedProxies

v11.0.0 以前から

static @method

static setTrustedProxies(array $proxies, int $trustedHeaderSet): void
  1. v11.0.0 追加
    変更後
    @method static setTrustedProxies(array $proxies, int $trustedHeaderSet): void

setUserResolver

v11.0.0 以前から

static @method

static setUserResolver(\Closure $callback): \Illuminate\Http\Request
  1. v11.0.0 追加
    変更後
    @method static setUserResolver(\Closure $callback): \Illuminate\Http\Request

str

v11.0.0 以前から

static @method

static str(string $key, mixed $default = null): \Illuminate\Support\Stringable
  1. v11.0.0 追加
    変更後
    @method static str(string $key, mixed $default = null): \Illuminate\Support\Stringable

string

v11.0.0 以前から

static @method

static string(string $key, mixed $default = null): \Illuminate\Support\Stringable
  1. v11.0.0 追加
    変更後
    @method static string(string $key, mixed $default = null): \Illuminate\Support\Stringable

toArray

v11.0.0 以前から

static @method

static toArray(): array
  1. v11.0.0 追加
    変更後
    @method static toArray(): array

unless

v11.35.0 から

static @method

static unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Http\Request|mixed
  1. v11.35.0 追加
    変更後
    @method static unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Http\Request|mixed

uri

v11.35.0 から

static @method

static uri(): \Illuminate\Support\Uri
  1. v11.35.0 追加
    変更後
    @method static uri(): \Illuminate\Support\Uri

url

v11.0.0 以前から

static @method

static url(): string
  1. v11.0.0 追加
    変更後
    @method static url(): string

user

v11.0.0 以前から

static @method

static user(string|null $guard = null): mixed
  1. v11.0.0 追加
    変更後
    @method static user(string|null $guard = null): mixed

userAgent

v11.0.0 以前から

static @method

static userAgent(): string|null
  1. v11.0.0 追加
    変更後
    @method static userAgent(): string|null

validate

v11.0.0 以前から

static @method

static validate(array $rules, ...$params): array
  1. v11.0.0 追加
    変更後
    @method static validate(array $rules, ...$params): array

validateWithBag

v11.0.0 以前から

static @method

static validateWithBag(string $errorBag, array $rules, ...$params): array
  1. v11.0.0 追加
    変更後
    @method static validateWithBag(string $errorBag, array $rules, ...$params): array

wantsJson

v11.0.0 以前から

static @method

static wantsJson(): bool
  1. v11.0.0 追加
    変更後
    @method static wantsJson(): bool

wantsMarkdown

v12.55.0 から

static @method

static wantsMarkdown(): bool
  1. v12.55.0 追加
    変更後
    @method static wantsMarkdown(): bool

when

v11.35.0 から

static @method

static when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Http\Request|mixed
  1. v11.35.0 追加
    変更後
    @method static when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Http\Request|mixed

whenEnum

v13.16.0 から

static @method

static whenEnum(string $key, string $enumClass, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed
  1. v13.16.0 追加
    変更後
    @method static whenEnum(string $key, string $enumClass, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed

whenFilled

v11.0.0 以前から

static @method

static whenFilled(string $key, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed
  1. v11.0.0 追加
    変更後
    @method static whenFilled(string $key, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed

whenHas

v11.0.0 以前から

static @method

static whenHas(string $key, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed
  1. v11.0.0 追加
    変更後
    @method static whenHas(string $key, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed

whenMissing

v11.0.0 以前から

static @method

static whenMissing(string $key, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed
  1. v11.0.0 追加
    変更後
    @method static whenMissing(string $key, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed