FailoverStore

Illuminate\Cache\FailoverStore

class src/Illuminate/Cache/FailoverStore.php

__construct

v12.35.0 から

__construct(Illuminate\Cache\CacheManager $cache, Illuminate\Contracts\Events\Dispatcher $events, array $stores)
@param array<int, string> $stores
  1. v12.35.0 追加
    変更後
    __construct(Illuminate\Cache\CacheManager $cache, Illuminate\Contracts\Events\Dispatcher $events, array $stores)
  2. v12.47.0 シグネチャ変更
    変更前
    __construct(Illuminate\Cache\CacheManager $cache, Illuminate\Contracts\Events\Dispatcher $events, array $stores)
    変更後
    __construct(Illuminate\Cache\CacheManager $cache, Illuminate\Contracts\Events\Dispatcher $events, array $stores) [@param array<int, string> $stores]

add

v12.35.0 から

add($key, $value, $seconds)
@param string $key
@param mixed $value
@param int $seconds
@return bool
  1. v12.35.0 追加
    変更後
    add($key, $value, $seconds) [@param string $key, @param mixed $value, @param int $seconds, @return bool]

decrement

v12.35.0 から

decrement($key, $value = 1)
@param string $key
@param mixed $value
@return int|false
  1. v12.35.0 追加
    変更後
    decrement($key, $value = 1) [@param string $key, @param mixed $value, @return int|false]

flush

v12.35.0 から

flush()
@return bool
  1. v12.35.0 追加
    変更後
    flush() [@return bool]

flushLocks

v13.6.0 から

flushLocks(): bool
@return bool
  1. v13.6.0 追加
    変更後
    flushLocks(): bool [@return bool]

flushStaleTags

v12.35.1 から

flushStaleTags()
@return void
  1. v12.35.1 追加
    変更後
    flushStaleTags() [@return void]

forever

v12.35.0 から

forever($key, $value)
@param string $key
@param mixed $value
@return bool
  1. v12.35.0 追加
    変更後
    forever($key, $value) [@param string $key, @param mixed $value, @return bool]

forget

v12.35.0 から

forget($key)
@param string $key
@return bool
  1. v12.35.0 追加
    変更後
    forget($key) [@param string $key, @return bool]

get

v12.35.0 から

get($key)
@param string $key
@return mixed
  1. v12.35.0 追加
    変更後
    get($key) [@param string $key, @return mixed]

getPrefix

v12.35.0 から

getPrefix()
@return string
  1. v12.35.0 追加
    変更後
    getPrefix() [@return string]

hasSeparateLockStore

v13.6.0 から

hasSeparateLockStore(): bool
@return bool
  1. v13.6.0 追加
    変更後
    hasSeparateLockStore(): bool [@return bool]

increment

v12.35.0 から

increment($key, $value = 1)
@param string $key
@param mixed $value
@return int|false
  1. v12.35.0 追加
    変更後
    increment($key, $value = 1) [@param string $key, @param mixed $value, @return int|false]

lock

v12.35.0 から

lock($name, $seconds = 0, $owner = null)
@param string $name
@param int $seconds
@param string|null $owner
@return \Illuminate\Contracts\Cache\Lock
  1. v12.35.0 追加
    変更後
    lock($name, $seconds = 0, $owner = null) [@param string $name, @param int $seconds, @param string|null $owner, @return \Illuminate\Contracts\Cache\Lock]

many

v12.35.0 から

many(array $keys)
@return array
  1. v12.35.0 追加
    変更後
    many(array $keys) [@return array]

put

v12.35.0 から

put($key, $value, $seconds)
@param string $key
@param mixed $value
@param int $seconds
@return bool
  1. v12.35.0 追加
    変更後
    put($key, $value, $seconds) [@param string $key, @param mixed $value, @param int $seconds, @return bool]

putMany

v12.35.0 から

putMany(array $values, $seconds)
@param int $seconds
@return bool
  1. v12.35.0 追加
    変更後
    putMany(array $values, $seconds) [@param int $seconds, @return bool]

restoreLock

v12.35.0 から

restoreLock($name, $owner)
@param string $name
@param string $owner
@return \Illuminate\Contracts\Cache\Lock
  1. v12.35.0 追加
    変更後
    restoreLock($name, $owner) [@param string $name, @param string $owner, @return \Illuminate\Contracts\Cache\Lock]

touch

v13.0.0 から

touch($key, $seconds)
@param string $key
@param int $seconds
@return bool
  1. v13.0.0 追加
    変更後
    touch($key, $seconds) [@param string $key, @param int $seconds, @return bool]