Session

Illuminate\Support\Facades\Session

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

ageFlashData

v11.0.0 以前から

static @method

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

all

v11.0.0 以前から

static @method

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

blockDriver

v11.0.0 以前から

static @method

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

cache

v12.29.0 から

static @method

static cache(): \Illuminate\Contracts\Cache\Repository
  1. v12.29.0 追加
    変更後
    @method static cache(): \Illuminate\Contracts\Cache\Repository

decrement

v11.0.0 以前から

static @method

static decrement(\UnitEnum|string $key, int $amount = 1): int
  1. v11.0.0 追加
    変更後
    @method static decrement(string $key, int $amount = 1): int
  2. v12.45.0 シグネチャ変更
    変更前
    @method static decrement(string $key, int $amount = 1): int
    変更後
    @method static decrement(\BackedEnum|\UnitEnum|string $key, int $amount = 1): int
  3. v12.52.0 シグネチャ変更
    変更前
    @method static decrement(\BackedEnum|\UnitEnum|string $key, int $amount = 1): int
    変更後
    @method static decrement(\UnitEnum|string $key, int $amount = 1): int

defaultRouteBlockLockSeconds

v11.0.0 以前から

static @method

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

defaultRouteBlockWaitSeconds

v11.0.0 以前から

static @method

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

driver

v11.0.0 以前から

static @method

static driver(\UnitEnum|string|null $driver = null): mixed
  1. v11.0.0 追加
    変更後
    @method static driver(string|null $driver = null): mixed
  2. v13.5.0 シグネチャ変更
    変更前
    @method static driver(string|null $driver = null): mixed
    変更後
    @method static driver(\UnitEnum|string|null $driver = null): mixed

except

v11.0.0 以前から

static @method

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

exists

v11.0.0 以前から

static @method

static exists(\UnitEnum|string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static exists(string|array $key): bool
  2. v12.47.0 シグネチャ変更
    変更前
    @method static exists(string|array $key): bool
    変更後
    @method static exists(\BackedEnum|\UnitEnum|string|array $key): bool
  3. v12.52.0 シグネチャ変更
    変更前
    @method static exists(\BackedEnum|\UnitEnum|string|array $key): bool
    変更後
    @method static exists(\UnitEnum|string|array $key): bool

extend

v11.0.0 以前から

static @method

static extend(string $driver, \Closure $callback): \Illuminate\Session\SessionManager
  1. v11.0.0 追加
    変更後
    @method static extend(string $driver, \Closure $callback): \Illuminate\Session\SessionManager

flash

v11.0.0 以前から

static @method

static flash(\UnitEnum|string $key, mixed $value = true): void
  1. v11.0.0 追加
    変更後
    @method static flash(string $key, mixed $value = true): void
  2. v12.49.0 シグネチャ変更
    変更前
    @method static flash(string $key, mixed $value = true): void
    変更後
    @method static flash(\BackedEnum|\UnitEnum|string $key, mixed $value = true): void
  3. v12.52.0 シグネチャ変更
    変更前
    @method static flash(\BackedEnum|\UnitEnum|string $key, mixed $value = true): void
    変更後
    @method static flash(\UnitEnum|string $key, mixed $value = true): void

flashInput

v11.0.0 以前から

static @method

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

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

forget

v11.0.0 以前から

static @method

static forget(\UnitEnum|string|array $keys): void
  1. v11.0.0 追加
    変更後
    @method static forget(string|array $keys): void
  2. v12.45.0 シグネチャ変更
    変更前
    @method static forget(string|array $keys): void
    変更後
    @method static forget(\BackedEnum|\UnitEnum|string|array $keys): void
  3. v12.52.0 シグネチャ変更
    変更前
    @method static forget(\BackedEnum|\UnitEnum|string|array $keys): void
    変更後
    @method static forget(\UnitEnum|string|array $keys): void

forgetDrivers

v11.0.0 以前から

static @method

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

get

v11.0.0 以前から

static @method

static get(\UnitEnum|string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static get(string $key, mixed $default = null): mixed
  2. v12.45.0 シグネチャ変更
    変更前
    @method static get(string $key, mixed $default = null): mixed
    変更後
    @method static get(\BackedEnum|\UnitEnum|string $key, mixed $default = null): mixed
  3. v12.52.0 シグネチャ変更
    変更前
    @method static get(\BackedEnum|\UnitEnum|string $key, mixed $default = null): mixed
    変更後
    @method static get(\UnitEnum|string $key, mixed $default = null): mixed

getContainer

v11.0.0 以前から

static @method

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

getDefaultDriver

v11.0.0 以前から

static @method

static getDefaultDriver(): string|null
  1. v11.0.0 追加
    変更後
    @method static getDefaultDriver(): string
  2. v12.29.0 シグネチャ変更
    変更前
    @method static getDefaultDriver(): string
    変更後
    @method static getDefaultDriver(): string|null

getDrivers

v11.0.0 以前から

static @method

static getDrivers(): array
  1. v11.0.0 追加
    変更後
    @method static getDrivers(): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static getDrivers(): array
    変更後
    @method static getDrivers(): array<string, mixed>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static getDrivers(): array<string, mixed>
    変更後
    @method static getDrivers(): array

getHandler

v11.0.0 以前から

static @method

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

getId

v11.0.0 以前から

static @method

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

getName

v11.0.0 以前から

static @method

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

getOldInput

v11.0.0 以前から

static @method

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

getSessionConfig

v11.0.0 以前から

static @method

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

handlerNeedsRequest

v11.0.0 以前から

static @method

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

has

v11.0.0 以前から

static @method

static has(\UnitEnum|string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static has(string|array $key): bool
  2. v12.47.0 シグネチャ変更
    変更前
    @method static has(string|array $key): bool
    変更後
    @method static has(\BackedEnum|\UnitEnum|string|array $key): bool
  3. v12.52.0 シグネチャ変更
    変更前
    @method static has(\BackedEnum|\UnitEnum|string|array $key): bool
    変更後
    @method static has(\UnitEnum|string|array $key): bool

hasAny

v11.3.0 から

static @method

static hasAny(\UnitEnum|string|array $key): bool
  1. v11.3.0 追加
    変更後
    @method static hasAny(string|array $key): bool
  2. v12.47.0 シグネチャ変更
    変更前
    @method static hasAny(string|array $key): bool
    変更後
    @method static hasAny(\BackedEnum|\UnitEnum|string|array $key): bool
  3. v12.52.0 シグネチャ変更
    変更前
    @method static hasAny(\BackedEnum|\UnitEnum|string|array $key): bool
    変更後
    @method static hasAny(\UnitEnum|string|array $key): bool

hasMacro

v11.0.0 以前から

static @method

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

hasOldInput

v11.0.0 以前から

static @method

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

hasPreviousUri

v11.36.0 から

static @method

static hasPreviousUri(): bool
  1. v11.36.0 追加
    変更後
    @method static hasPreviousUri(): bool

id

v11.11.0 から

static @method

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

increment

v11.0.0 以前から

static @method

static increment(\UnitEnum|string $key, int $amount = 1): mixed
  1. v11.0.0 追加
    変更後
    @method static increment(string $key, int $amount = 1): mixed
  2. v12.45.0 シグネチャ変更
    変更前
    @method static increment(string $key, int $amount = 1): mixed
    変更後
    @method static increment(\BackedEnum|\UnitEnum|string $key, int $amount = 1): mixed
  3. v12.52.0 シグネチャ変更
    変更前
    @method static increment(\BackedEnum|\UnitEnum|string $key, int $amount = 1): mixed
    変更後
    @method static increment(\UnitEnum|string $key, int $amount = 1): mixed

invalidate

v11.0.0 以前から

static @method

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

isStarted

v11.0.0 以前から

static @method

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

isValidId

v11.0.0 以前から

static @method

static isValidId(string|null $id): bool
  1. v11.0.0 追加
    変更後
    @method static isValidId(string|null $id): bool

keep

v11.0.0 以前から

static @method

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

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

migrate

v11.0.0 以前から

static @method

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

missing

v11.0.0 以前から

static @method

static missing(\UnitEnum|string|array $key): bool
  1. v11.0.0 追加
    変更後
    @method static missing(string|array $key): bool
  2. v12.47.0 シグネチャ変更
    変更前
    @method static missing(string|array $key): bool
    変更後
    @method static missing(\BackedEnum|\UnitEnum|string|array $key): bool
  3. v12.52.0 シグネチャ変更
    変更前
    @method static missing(\BackedEnum|\UnitEnum|string|array $key): bool
    変更後
    @method static missing(\UnitEnum|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

now

v11.0.0 以前から

static @method

static now(\UnitEnum|string $key, mixed $value): void
  1. v11.0.0 追加
    変更後
    @method static now(string $key, mixed $value): void
  2. v12.49.0 シグネチャ変更
    変更前
    @method static now(string $key, mixed $value): void
    変更後
    @method static now(\BackedEnum|\UnitEnum|string $key, mixed $value): void
  3. v12.52.0 シグネチャ変更
    変更前
    @method static now(\BackedEnum|\UnitEnum|string $key, mixed $value): void
    変更後
    @method static now(\UnitEnum|string $key, mixed $value): void

only

v11.0.0 以前から

static @method

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

passwordConfirmed

v11.0.0 以前から

static @method

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

previousRoute

v12.35.1 から

static @method

static previousRoute(): string|null
  1. v12.35.1 追加
    変更後
    @method static previousRoute(): string|null

previousUri

v11.36.0 から

static @method

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

previousUrl

v11.0.0 以前から

static @method

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

pull

v11.0.0 以前から

static @method

static pull(\UnitEnum|string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static pull(string $key, mixed $default = null): mixed
  2. v12.45.0 シグネチャ変更
    変更前
    @method static pull(string $key, mixed $default = null): mixed
    変更後
    @method static pull(\BackedEnum|\UnitEnum|string $key, mixed $default = null): mixed
  3. v12.52.0 シグネチャ変更
    変更前
    @method static pull(\BackedEnum|\UnitEnum|string $key, mixed $default = null): mixed
    変更後
    @method static pull(\UnitEnum|string $key, mixed $default = null): mixed

push

v11.0.0 以前から

static @method

static push(\UnitEnum|string $key, mixed $value): void
  1. v11.0.0 追加
    変更後
    @method static push(string $key, mixed $value): void
  2. v12.45.0 シグネチャ変更
    変更前
    @method static push(string $key, mixed $value): void
    変更後
    @method static push(\BackedEnum|\UnitEnum|string $key, mixed $value): void
  3. v12.52.0 シグネチャ変更
    変更前
    @method static push(\BackedEnum|\UnitEnum|string $key, mixed $value): void
    変更後
    @method static push(\UnitEnum|string $key, mixed $value): void

put

v11.0.0 以前から

static @method

static put(\UnitEnum|string|array $key, mixed $value = null): void
  1. v11.0.0 追加
    変更後
    @method static put(string|array $key, mixed $value = null): void
  2. v12.45.0 シグネチャ変更
    変更前
    @method static put(string|array $key, mixed $value = null): void
    変更後
    @method static put(\BackedEnum|\UnitEnum|string|array $key, mixed $value = null): void
  3. v12.52.0 シグネチャ変更
    変更前
    @method static put(\BackedEnum|\UnitEnum|string|array $key, mixed $value = null): void
    変更後
    @method static put(\UnitEnum|string|array $key, mixed $value = null): void

reflash

v11.0.0 以前から

static @method

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

regenerate

v11.0.0 以前から

static @method

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

regenerateToken

v11.0.0 以前から

static @method

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

remember

v11.0.0 以前から

static @method

static remember(\UnitEnum|string $key, \Closure $callback): mixed
  1. v11.0.0 追加
    変更後
    @method static remember(string $key, \Closure $callback): mixed
  2. v12.45.0 シグネチャ変更
    変更前
    @method static remember(string $key, \Closure $callback): mixed
    変更後
    @method static remember(\BackedEnum|\UnitEnum|string $key, \Closure $callback): mixed
  3. v12.52.0 シグネチャ変更
    変更前
    @method static remember(\BackedEnum|\UnitEnum|string $key, \Closure $callback): mixed
    変更後
    @method static remember(\UnitEnum|string $key, \Closure $callback): mixed

remove

v11.0.0 以前から

static @method

static remove(\UnitEnum|string $key): mixed
  1. v11.0.0 追加
    変更後
    @method static remove(string $key): mixed
  2. v12.45.0 シグネチャ変更
    変更前
    @method static remove(string $key): mixed
    変更後
    @method static remove(\BackedEnum|\UnitEnum|string $key): mixed
  3. v12.52.0 シグネチャ変更
    変更前
    @method static remove(\BackedEnum|\UnitEnum|string $key): mixed
    変更後
    @method static remove(\UnitEnum|string $key): mixed

replace

v11.0.0 以前から

static @method

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

save

v11.0.0 以前から

static @method

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

setContainer

v11.0.0 以前から

static @method

static setContainer(\Illuminate\Contracts\Container\Container $container): \Illuminate\Session\SessionManager
  1. v11.0.0 追加
    変更後
    @method static setContainer(\Illuminate\Contracts\Container\Container $container): \Illuminate\Session\SessionManager

setDefaultDriver

v11.0.0 以前から

static @method

static setDefaultDriver(\UnitEnum|string $name): void
  1. v11.0.0 追加
    変更後
    @method static setDefaultDriver(string $name): void
  2. v13.7.0 シグネチャ変更
    変更前
    @method static setDefaultDriver(string $name): void
    変更後
    @method static setDefaultDriver(\UnitEnum|string $name): void

setExists

v11.0.0 以前から

static @method

static setExists(bool $value): void
  1. v11.0.0 追加
    変更後
    @method static setExists(bool $value): void

setHandler

v11.0.0 以前から

static @method

static setHandler(\SessionHandlerInterface $handler): \SessionHandlerInterface
  1. v11.0.0 追加
    変更後
    @method static setHandler(\SessionHandlerInterface $handler): \SessionHandlerInterface

setId

v11.0.0 以前から

static @method

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

setName

v11.0.0 以前から

static @method

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

setPreviousRoute

v12.35.1 から

static @method

static setPreviousRoute(string|null $route): void
  1. v12.35.1 追加
    変更後
    @method static setPreviousRoute(string|null $route): void

setPreviousUrl

v11.0.0 以前から

static @method

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

setRequestOnHandler

v11.0.0 以前から

static @method

static setRequestOnHandler(\Illuminate\Http\Request $request): void
  1. v11.0.0 追加
    変更後
    @method static setRequestOnHandler(\Illuminate\Http\Request $request): void

shouldBlock

v11.0.0 以前から

static @method

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

start

v11.0.0 以前から

static @method

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

token

v11.0.0 以前から

static @method

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