Cache

Illuminate\Support\Facades\Cache

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

add

v11.0.0 以前から

static @method

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

array

v12.50.0 から

static @method

static array(\UnitEnum|string $key, \Closure|array|null $default = null): array
  1. v12.50.0 追加
    変更後
    @method static array(\BackedEnum|\UnitEnum|string $key, \Closure|array|null $default = null): array
  2. v12.52.0 シグネチャ変更
    変更前
    @method static array(\BackedEnum|\UnitEnum|string $key, \Closure|array|null $default = null): array
    変更後
    @method static array(\UnitEnum|string $key, \Closure|array|null $default = null): array
  3. v13.4.0 シグネチャ変更
    変更前
    @method static array(\UnitEnum|string $key, \Closure|array|null $default = null): array
    変更後
    @method static array(\UnitEnum|string $key, \Closure|array<array-key, mixed>|null $default = null): array<array-key, mixed>
  4. v13.6.0 シグネチャ変更
    変更前
    @method static array(\UnitEnum|string $key, \Closure|array<array-key, mixed>|null $default = null): array<array-key, mixed>
    変更後
    @method static array(\UnitEnum|string $key, \Closure|array|null $default = null): array

boolean

v12.50.0 から

static @method

static boolean(\UnitEnum|string $key, \Closure|bool|null $default = null): bool
  1. v12.50.0 追加
    変更後
    @method static boolean(\BackedEnum|\UnitEnum|string $key, \Closure|bool|null $default = null): bool
  2. v12.52.0 シグネチャ変更
    変更前
    @method static boolean(\BackedEnum|\UnitEnum|string $key, \Closure|bool|null $default = null): bool
    変更後
    @method static boolean(\UnitEnum|string $key, \Closure|bool|null $default = null): bool

build

v11.31.0 から

static @method

static build(array $config): \Illuminate\Cache\Repository
  1. v11.31.0 追加
    変更後
    @method static build(array $config): \Illuminate\Cache\Repository

clear

v11.0.0 以前から

static @method

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

decrement

v11.0.0 以前から

static @method

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

delete

v11.0.0 以前から

static @method

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

deleteMultiple

v11.0.0 以前から

static @method

static deleteMultiple(iterable $keys): bool
  1. v11.0.0 追加
    変更後
    @method static deleteMultiple(iterable $keys): bool
  2. v13.4.0 シグネチャ変更
    変更前
    @method static deleteMultiple(iterable $keys): bool
    変更後
    @method static deleteMultiple(iterable<string> $keys): bool
  3. v13.6.0 シグネチャ変更
    変更前
    @method static deleteMultiple(iterable<string> $keys): bool
    変更後
    @method static deleteMultiple(iterable $keys): bool

driver

v11.0.0 以前から

static @method

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

extend

v11.0.0 以前から

static @method

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

flexible

v11.23.0 から

static @method

static flexible(\UnitEnum|string $key, array $ttl, callable $callback, array|null $lock = null, bool $alwaysDefer = false): mixed
  1. v11.23.0 追加
    変更後
    @method static flexible(string $key, void $ttl, callable $callback, void $lock = null): mixed
  2. v11.23.3 シグネチャ変更
    変更前
    @method static flexible(string $key, void $ttl, callable $callback, void $lock = null): mixed
    変更後
    @method static flexible(string $key, array $ttl, callable $callback, array|null $lock = null): mixed
  3. v12.16.0 シグネチャ変更
    変更前
    @method static flexible(string $key, array $ttl, callable $callback, array|null $lock = null): mixed
    変更後
    @method static flexible(string $key, array $ttl, callable $callback, array|null $lock = null, bool $alwaysDefer = false): mixed
  4. v12.49.0 シグネチャ変更
    変更前
    @method static flexible(string $key, array $ttl, callable $callback, array|null $lock = null, bool $alwaysDefer = false): mixed
    変更後
    @method static flexible(\BackedEnum|\UnitEnum|string $key, array $ttl, callable $callback, array|null $lock = null, bool $alwaysDefer = false): mixed
  5. v12.52.0 シグネチャ変更
    変更前
    @method static flexible(\BackedEnum|\UnitEnum|string $key, array $ttl, callable $callback, array|null $lock = null, bool $alwaysDefer = false): mixed
    変更後
    @method static flexible(\UnitEnum|string $key, array $ttl, callable $callback, array|null $lock = null, bool $alwaysDefer = false): mixed

float

v12.50.0 から

static @method

static float(\UnitEnum|string $key, \Closure|float|null $default = null): float
  1. v12.50.0 追加
    変更後
    @method static float(\BackedEnum|\UnitEnum|string $key, \Closure|float|null $default = null): float
  2. v12.52.0 シグネチャ変更
    変更前
    @method static float(\BackedEnum|\UnitEnum|string $key, \Closure|float|null $default = null): float
    変更後
    @method static float(\UnitEnum|string $key, \Closure|float|null $default = null): float

flush

v11.0.0 以前から

static @method

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

flushLocks

v13.0.0 から

static @method

static flushLocks(): bool
  1. v13.0.0 追加
    変更後
    @method static flushLocks(): bool

flushMacros

v11.0.0 以前から

static @method

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

forever

v11.0.0 以前から

static @method

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

forget

v11.0.0 以前から

static @method

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

forgetDriver

v11.0.0 以前から

static @method

static forgetDriver(array|\UnitEnum|string|null $name = null): \Illuminate\Cache\CacheManager
  1. v11.0.0 追加
    変更後
    @method static forgetDriver(array|string|null $name = null): \Illuminate\Cache\CacheManager
  2. v13.5.0 シグネチャ変更
    変更前
    @method static forgetDriver(array|string|null $name = null): \Illuminate\Cache\CacheManager
    変更後
    @method static forgetDriver(array|\UnitEnum|string|null $name = null): \Illuminate\Cache\CacheManager

funnel

v12.53.0 から

static @method

static funnel(\UnitEnum|string $name): \Illuminate\Cache\Limiters\ConcurrencyLimiterBuilder
  1. v12.53.0 追加
    変更後
    @method static funnel(\UnitEnum|string $name): \Illuminate\Cache\Limiters\ConcurrencyLimiterBuilder

get

v11.0.0 以前から

static @method

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

getDefaultCacheTime

v11.0.0 以前から

static @method

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

getDefaultDriver

v11.0.0 以前から

static @method

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

getEventDispatcher

v11.0.0 以前から

static @method

static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher|null
  1. v11.0.0 追加
    変更後
    @method static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher
  2. v11.11.1 シグネチャ変更
    変更前
    @method static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher
    変更後
    @method static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher|null

getMultiple

v11.0.0 以前から

static @method

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

getName

v11.39.1 から

static @method

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

getPrefix

v11.0.0 以前から

static @method

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

getStore

v11.0.0 以前から

static @method

static getStore(): \Illuminate\Contracts\Cache\Store
  1. v11.0.0 追加
    変更後
    @method static getStore(): \Illuminate\Contracts\Cache\Store

handleUnserializableClassUsing

v13.5.0 から

static @method

static handleUnserializableClassUsing(callable|null $callback): void
  1. v13.5.0 追加
    変更後
    @method static handleUnserializableClassUsing(callable|null $callback): void

has

v11.0.0 以前から

static @method

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

hasMacro

v11.0.0 以前から

static @method

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

increment

v11.0.0 以前から

static @method

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

integer

v12.50.0 から

static @method

static integer(\UnitEnum|string $key, \Closure|int|null $default = null): int
  1. v12.50.0 追加
    変更後
    @method static integer(\BackedEnum|\UnitEnum|string $key, \Closure|int|null $default = null): int
  2. v12.52.0 シグネチャ変更
    変更前
    @method static integer(\BackedEnum|\UnitEnum|string $key, \Closure|int|null $default = null): int
    変更後
    @method static integer(\UnitEnum|string $key, \Closure|int|null $default = null): int

lock

v11.0.0 以前から

static @method

static lock(string $name, int $seconds = 0, string|null $owner = null): \Illuminate\Contracts\Cache\Lock
  1. v11.0.0 追加
    変更後
    @method static lock(string $name, int $seconds = 0, string|null $owner = null): \Illuminate\Contracts\Cache\Lock

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

macroCall

v11.0.0 以前から

static @method

static macroCall(string $method, array $parameters): mixed
  1. v11.0.0 追加
    変更後
    @method static macroCall(string $method, array $parameters): mixed

many

v11.0.0 以前から

static @method

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

memo

v12.9.0 から

static @method

static memo(\UnitEnum|string|null $driver = null): \Illuminate\Contracts\Cache\Repository
  1. v12.9.0 追加
    変更後
    @method static memo(string|null $driver = null): \Illuminate\Contracts\Cache\Repository
  2. v13.5.0 シグネチャ変更
    変更前
    @method static memo(string|null $driver = null): \Illuminate\Contracts\Cache\Repository
    変更後
    @method static memo(\UnitEnum|string|null $driver = null): \Illuminate\Contracts\Cache\Repository

missing

v11.0.0 以前から

static @method

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

pull

v11.0.0 以前から

static @method

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

purge

v11.0.0 以前から

static @method

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

put

v11.0.0 以前から

static @method

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

putMany

v11.0.0 以前から

static @method

static putMany(array $values, \DateTimeInterface|\DateInterval|int|null $ttl = null): bool
  1. v11.0.0 追加
    変更後
    @method static putMany(array $values, \DateTimeInterface|\DateInterval|int|null $ttl = null): bool

refreshEventDispatcher

v11.0.0 以前から

static @method

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

remember

v11.0.0 以前から

static @method

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

rememberForever

v11.0.0 以前から

static @method

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

rememberWithWarmth

v13.15.0 から

static @method

static rememberWithWarmth(\UnitEnum|string $key, \Closure|\DateTimeInterface|\DateInterval|int|null $ttl, \Closure $callback): array
  1. v13.15.0 追加
    変更後
    @method static rememberWithWarmth(\UnitEnum|string $key, \Closure|\DateTimeInterface|\DateInterval|int|null $ttl, \Closure $callback): array

repository

v11.0.0 以前から

static @method

static repository(\Illuminate\Contracts\Cache\Store $store, array $config = []): \Illuminate\Cache\Repository
  1. v11.0.0 追加
    変更後
    @method static repository(\Illuminate\Contracts\Cache\Store $store, array $config): \Illuminate\Cache\Repository
  2. v11.0.4 シグネチャ変更
    変更前
    @method static repository(\Illuminate\Contracts\Cache\Store $store, array $config): \Illuminate\Cache\Repository
    変更後
    @method static repository(\Illuminate\Contracts\Cache\Store $store, array $config = []): \Illuminate\Cache\Repository

resolve

v11.0.0 以前から

static @method

static resolve(string $name): \Illuminate\Contracts\Cache\Repository
  1. v11.0.0 追加
    変更後
    @method static resolve(string $name): \Illuminate\Contracts\Cache\Repository

restoreLock

v11.0.0 以前から

static @method

static restoreLock(string $name, string $owner): \Illuminate\Contracts\Cache\Lock
  1. v11.0.0 追加
    変更後
    @method static restoreLock(string $name, string $owner): \Illuminate\Contracts\Cache\Lock

sear

v11.0.0 以前から

static @method

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

set

v11.0.0 以前から

static @method

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

setApplication

v11.0.0 以前から

static @method

static setApplication(\Illuminate\Contracts\Foundation\Application $app): \Illuminate\Cache\CacheManager
  1. v11.0.0 追加
    変更後
    @method static setApplication(\Illuminate\Contracts\Foundation\Application $app): \Illuminate\Cache\CacheManager

setDefaultCacheTime

v11.0.0 以前から

static @method

static setDefaultCacheTime(int|null $seconds): \Illuminate\Cache\Repository
  1. v11.0.0 追加
    変更後
    @method static setDefaultCacheTime(int|null $seconds): \Illuminate\Cache\Repository

setDefaultDriver

v11.0.0 以前から

static @method

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

setEventDispatcher

v11.0.0 以前から

static @method

static setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events): void
  1. v11.0.0 追加
    変更後
    @method static setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events): void

setMultiple

v11.0.0 以前から

static @method

static setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool
  1. v11.0.0 追加
    変更後
    @method static setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool

setStore

v11.0.0 以前から

static @method

static setStore(\Illuminate\Contracts\Cache\Store $store): \Illuminate\Cache\Repository
  1. v11.0.0 追加
    変更後
    @method static setStore(\Illuminate\Contracts\Cache\Store $store): \Illuminate\Cache\Repository

spy

v12.42.0 から

static

static spy()
@return \Mockery\MockInterface
  1. v12.42.0 追加
    変更後
    static spy() [@return \Mockery\MockInterface]

store

v11.0.0 以前から

static @method

static store(\UnitEnum|string|null $name = null): \Illuminate\Contracts\Cache\Repository
  1. v11.0.0 追加
    変更後
    @method static store(string|null $name = null): \Illuminate\Contracts\Cache\Repository
  2. v13.5.0 シグネチャ変更
    変更前
    @method static store(string|null $name = null): \Illuminate\Contracts\Cache\Repository
    変更後
    @method static store(\UnitEnum|string|null $name = null): \Illuminate\Contracts\Cache\Repository

string

v12.50.0 から

static @method

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

supportsFlushingLocks

v13.0.0 から

static @method

static supportsFlushingLocks(): bool
  1. v13.0.0 追加
    変更後
    @method static supportsFlushingLocks(): bool

supportsTags

v11.0.0 以前から

static @method

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

tags

v11.0.0 以前から

static @method

static tags(mixed $names): \Illuminate\Cache\TaggedCache
  1. v11.0.0 追加
    変更後
    @method static tags(array|mixed $names): \Illuminate\Cache\TaggedCache
  2. v12.26.0 シグネチャ変更
    変更前
    @method static tags(array|mixed $names): \Illuminate\Cache\TaggedCache
    変更後
    @method static tags(mixed $names): \Illuminate\Cache\TaggedCache

touch

v13.0.0 から

static @method

static touch(\UnitEnum|string $key, \DateTimeInterface|\DateInterval|int $ttl): bool
  1. v13.0.0 追加
    変更後
    @method static touch(string $key, \DateTimeInterface|\DateInterval|int $ttl): bool
  2. v13.7.0 シグネチャ変更
    変更前
    @method static touch(string $key, \DateTimeInterface|\DateInterval|int $ttl): bool
    変更後
    @method static touch(\UnitEnum|string $key, \DateTimeInterface|\DateInterval|int $ttl): bool

withoutOverlapping

v12.47.0 から

static @method

static withoutOverlapping(\UnitEnum|string $key, callable $callback, int $lockFor = 0, int $waitFor = 10, string|null $owner = null): mixed
  1. v12.47.0 追加
    変更後
    @method static withoutOverlapping(string $key, callable $callback, int $lockFor = 0, int $waitFor = 10, string|null $owner = null): mixed
  2. v12.49.0 シグネチャ変更
    変更前
    @method static withoutOverlapping(string $key, callable $callback, int $lockFor = 0, int $waitFor = 10, string|null $owner = null): mixed
    変更後
    @method static withoutOverlapping(\BackedEnum|\UnitEnum|string $key, callable $callback, int $lockFor = 0, int $waitFor = 10, string|null $owner = null): mixed
  3. v12.52.0 シグネチャ変更
    変更前
    @method static withoutOverlapping(\BackedEnum|\UnitEnum|string $key, callable $callback, int $lockFor = 0, int $waitFor = 10, string|null $owner = null): mixed
    変更後
    @method static withoutOverlapping(\UnitEnum|string $key, callable $callback, int $lockFor = 0, int $waitFor = 10, string|null $owner = null): mixed