Context

Illuminate\Support\Facades\Context

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

add

v11.0.0 以前から

static @method

static add(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static add(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
  2. v13.4.0 シグネチャ変更
    変更前
    @method static add(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
    変更後
    @method static add(string|array<string, mixed> $key, mixed $value = null): \Illuminate\Log\Context\Repository
  3. v13.6.0 シグネチャ変更
    変更前
    @method static add(string|array<string, mixed> $key, mixed $value = null): \Illuminate\Log\Context\Repository
    変更後
    @method static add(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository

addHidden

v11.0.0 以前から

static @method

static addHidden(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static addHidden(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
  2. v13.4.0 シグネチャ変更
    変更前
    @method static addHidden(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
    変更後
    @method static addHidden(string|array<string, mixed> $key, mixed $value = null): \Illuminate\Log\Context\Repository
  3. v13.6.0 シグネチャ変更
    変更前
    @method static addHidden(string|array<string, mixed> $key, mixed $value = null): \Illuminate\Log\Context\Repository
    変更後
    @method static addHidden(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository

addHiddenIf

v11.0.0 以前から

static @method

static addHiddenIf(string $key, mixed $value): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static addHiddenIf(string $key, mixed $value): \Illuminate\Log\Context\Repository

addIf

v11.0.0 以前から

static @method

static addIf(string $key, mixed $value): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static addIf(string $key, mixed $value): \Illuminate\Log\Context\Repository

all

v11.0.0 以前から

static @method

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

allHidden

v11.0.0 以前から

static @method

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

decrement

v12.2.0 から

static @method

static decrement(string $key, int $amount = 1): \Illuminate\Log\Context\Repository
  1. v12.2.0 追加
    変更後
    @method static decrement(string $key, int $amount = 1): \Illuminate\Log\Context\Repository

dehydrating

v11.0.0 以前から

static @method

static dehydrating(callable $callback): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static dehydrating(callable $callback): \Illuminate\Log\Context\Repository

except

v12.14.0 から

static @method

static except(array $keys): array
  1. v12.14.0 追加
    変更後
    @method static except(array $keys): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static except(array $keys): array
    変更後
    @method static except(array<int, string> $keys): array<string, mixed>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static except(array<int, string> $keys): array<string, mixed>
    変更後
    @method static except(array $keys): array

exceptHidden

v12.14.0 から

static @method

static exceptHidden(array $keys): array
  1. v12.14.0 追加
    変更後
    @method static exceptHidden(array $keys): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static exceptHidden(array $keys): array
    変更後
    @method static exceptHidden(array<int, string> $keys): array<string, mixed>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static exceptHidden(array<int, string> $keys): array<string, mixed>
    変更後
    @method static exceptHidden(array $keys): array

flush

v11.0.0 以前から

static @method

static flush(): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static flush(): \Illuminate\Log\Context\Repository

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(string|array $key): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static forget(string|array $key): \Illuminate\Log\Context\Repository
  2. v13.4.0 シグネチャ変更
    変更前
    @method static forget(string|array $key): \Illuminate\Log\Context\Repository
    変更後
    @method static forget(string|array<int, string> $key): \Illuminate\Log\Context\Repository
  3. v13.6.0 シグネチャ変更
    変更前
    @method static forget(string|array<int, string> $key): \Illuminate\Log\Context\Repository
    変更後
    @method static forget(string|array $key): \Illuminate\Log\Context\Repository

forgetHidden

v11.0.0 以前から

static @method

static forgetHidden(string|array $key): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static forgetHidden(string|array $key): \Illuminate\Log\Context\Repository
  2. v13.4.0 シグネチャ変更
    変更前
    @method static forgetHidden(string|array $key): \Illuminate\Log\Context\Repository
    変更後
    @method static forgetHidden(string|array<int, string> $key): \Illuminate\Log\Context\Repository
  3. v13.6.0 シグネチャ変更
    変更前
    @method static forgetHidden(string|array<int, string> $key): \Illuminate\Log\Context\Repository
    変更後
    @method static forgetHidden(string|array $key): \Illuminate\Log\Context\Repository

get

v11.0.0 以前から

static @method

static get(string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static get(string $key): mixed
  2. v11.2.0 シグネチャ変更
    変更前
    @method static get(string $key): mixed
    変更後
    @method static get(string $key, mixed $default = null): mixed

getHidden

v11.0.0 以前から

static @method

static getHidden(string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static getHidden(string $key): mixed
  2. v11.2.0 シグネチャ変更
    変更前
    @method static getHidden(string $key): mixed
    変更後
    @method static getHidden(string $key, mixed $default = null): mixed

handleUnserializeExceptionsUsing

v11.0.0 以前から

static @method

static handleUnserializeExceptionsUsing(callable|null $callback): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static handleUnserializeExceptionsUsing(callable|null $callback): \Illuminate\Log\Context\Repository

has

v11.0.0 以前から

static @method

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

hasHidden

v11.0.0 以前から

static @method

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

hasMacro

v11.0.0 以前から

static @method

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

hiddenStackContains

v11.20.0 から

static @method

static hiddenStackContains(string $key, mixed $value, bool $strict = false): bool
  1. v11.20.0 追加
    変更後
    @method static hiddenStackContains(string $key, mixed $value, bool $strict = false): bool

hydrated

v11.0.0 以前から

static @method

static hydrated(callable $callback): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static hydrated(callable $callback): \Illuminate\Log\Context\Repository

increment

v12.2.0 から

static @method

static increment(string $key, int $amount = 1): \Illuminate\Log\Context\Repository
  1. v12.2.0 追加
    変更後
    @method static increment(string $key, int $amount = 1): \Illuminate\Log\Context\Repository

isEmpty

v11.0.0 以前から

static @method

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

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

missing

v11.42.0 から

static @method

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

missingHidden

v11.42.0 から

static @method

static missingHidden(string $key): bool
  1. v11.42.0 追加
    変更後
    @method static missingHidden(string $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

only

v11.0.0 以前から

static @method

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

onlyHidden

v11.0.0 以前から

static @method

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

pop

v11.31.0 から

static @method

static pop(string $key): mixed
  1. v11.31.0 追加
    変更後
    @method static pop(string $key): mixed

popHidden

v11.31.0 から

static @method

static popHidden(string $key): mixed
  1. v11.31.0 追加
    変更後
    @method static popHidden(string $key): mixed

pull

v11.3.0 から

static @method

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

pullHidden

v11.3.0 から

static @method

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

push

v11.0.0 以前から

static @method

static push(string $key, mixed ...$values): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static push(string $key, mixed ...$values): \Illuminate\Log\Context\Repository

pushHidden

v11.0.0 以前から

static @method

static pushHidden(string $key, mixed ...$values): \Illuminate\Log\Context\Repository
  1. v11.0.0 追加
    変更後
    @method static pushHidden(string $key, mixed ...$values): \Illuminate\Log\Context\Repository

remember

v12.20.0 から

static @method

static remember(string $key, mixed $value): mixed
  1. v12.20.0 追加
    変更後
    @method static remember(string $key, mixed $value): mixed

rememberHidden

v12.20.0 から

static @method

static rememberHidden(string $key, mixed $value): mixed
  1. v12.20.0 追加
    変更後
    @method static rememberHidden(string $key, mixed $value): mixed

restoreModel

v11.0.0 以前から

static @method

static restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value): \Illuminate\Database\Eloquent\Model
  1. v11.0.0 追加
    変更後
    @method static restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value): \Illuminate\Database\Eloquent\Model

scope

v12.1.0 から

static @method

static scope(callable $callback, array $data = [], array $hidden = []): mixed
  1. v12.1.0 追加
    変更後
    @method static scope(callable $callback, array $data = [], array $hidden = []): mixed
  2. v13.4.0 シグネチャ変更
    変更前
    @method static scope(callable $callback, array $data = [], array $hidden = []): mixed
    変更後
    @method static scope(callable $callback, array<string, mixed> $data = [], array<string, mixed> $hidden = []): mixed
  3. v13.6.0 シグネチャ変更
    変更前
    @method static scope(callable $callback, array<string, mixed> $data = [], array<string, mixed> $hidden = []): mixed
    変更後
    @method static scope(callable $callback, array $data = [], array $hidden = []): mixed

stackContains

v11.20.0 から

static @method

static stackContains(string $key, mixed $value, bool $strict = false): bool
  1. v11.20.0 追加
    変更後
    @method static stackContains(string $key, mixed $value, bool $strict = false): bool

unless

v11.1.0 から

static @method

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

when

v11.1.0 から

static @method

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