FileStore

Illuminate\Cache\FileStore

class src/Illuminate/Cache/FileStore.php

__construct

v11.0.0 以前から

__construct(Illuminate\Filesystem\Filesystem $files, $directory, $filePermission = null, $serializableClasses = null)
@param \Illuminate\Filesystem\Filesystem $files
@param string $directory
@param int|null $filePermission
@param array|bool|null $serializableClasses
  1. v11.0.0 追加
    変更後
    __construct(Illuminate\Filesystem\Filesystem $files, $directory, $filePermission = null) [@param \Illuminate\Filesystem\Filesystem $files, @param string $directory, @param int|null $filePermission, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(Illuminate\Filesystem\Filesystem $files, $directory, $filePermission = null) [@param \Illuminate\Filesystem\Filesystem $files, @param string $directory, @param int|null $filePermission, @return void]
    変更後
    __construct(Illuminate\Filesystem\Filesystem $files, $directory, $filePermission = null) [@param \Illuminate\Filesystem\Filesystem $files, @param string $directory, @param int|null $filePermission]
  3. v12.53.0 シグネチャ変更
    変更前
    __construct(Illuminate\Filesystem\Filesystem $files, $directory, $filePermission = null) [@param \Illuminate\Filesystem\Filesystem $files, @param string $directory, @param int|null $filePermission]
    変更後
    __construct(Illuminate\Filesystem\Filesystem $files, $directory, $filePermission = null, $serializableClasses = null) [@param \Illuminate\Filesystem\Filesystem $files, @param string $directory, @param int|null $filePermission, @param array|bool|null $serializableClasses]

add

v11.0.0 以前から

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

decrement

v11.0.0 以前から

decrement($key, $value = 1)
@param string $key
@param mixed $value
@return int
  1. v11.0.0 追加
    変更後
    decrement($key, $value = 1) [@param string $key, @param mixed $value, @return int]

flush

v11.0.0 以前から

flush()
@return bool
  1. v11.0.0 追加
    変更後
    flush() [@return bool]

flushLocks

v13.0.0 から

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

forever

v11.0.0 以前から

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

forget

v11.0.0 以前から

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

get

v11.0.0 以前から

get($key)
@param string $key
@return mixed
  1. v11.0.0 追加
    変更後
    get($key) [@param string|array $key, @return mixed]
  2. v11.5.0 シグネチャ変更
    変更前
    get($key) [@param string|array $key, @return mixed]
    変更後
    get($key) [@param string $key, @return mixed]

getDirectory

v11.0.0 以前から

getDirectory()
@return string
  1. v11.0.0 追加
    変更後
    getDirectory() [@return string]

getFilesystem

v11.0.0 以前から

getFilesystem()
@return \Illuminate\Filesystem\Filesystem
  1. v11.0.0 追加
    変更後
    getFilesystem() [@return \Illuminate\Filesystem\Filesystem]

getPrefix

v11.0.0 以前から

getPrefix()
@return string
  1. v11.0.0 追加
    変更後
    getPrefix() [@return string]

hasSeparateLockStore

v13.0.0 から

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

increment

v11.0.0 以前から

increment($key, $value = 1)
@param string $key
@param mixed $value
@return int
  1. v11.0.0 追加
    変更後
    increment($key, $value = 1) [@param string $key, @param mixed $value, @return int]

lock

v11.0.0 以前から

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

path

v11.0.0 以前から

path($key)
@param string $key
@return string
  1. v11.0.0 追加
    変更後
    path($key) [@param string $key, @return string]

put

v11.0.0 以前から

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

refreshIfOwned

v13.16.0 から

refreshIfOwned($key, $expectedOwner, $seconds)
@param string $key
@param mixed $expectedOwner
@param int $seconds
@return bool
  1. v12.63.0 追加
    変更後
    refreshIfOwned($key, $expectedOwner, $seconds) [@param string $key, @param mixed $expectedOwner, @param int $seconds, @return bool]
  2. v13.0.0 削除
    変更前
    refreshIfOwned($key, $expectedOwner, $seconds) [@param string $key, @param mixed $expectedOwner, @param int $seconds, @return bool]
  3. v13.16.0 追加
    変更後
    refreshIfOwned($key, $expectedOwner, $seconds) [@param string $key, @param mixed $expectedOwner, @param int $seconds, @return bool]

restoreLock

v11.0.0 以前から

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

setDirectory

v11.3.0 から

setDirectory($directory)
@param string $directory
@return $this
  1. v11.3.0 追加
    変更後
    setDirectory($directory) [@param string $directory, @return $this]

setLockDirectory

v11.0.0 以前から

setLockDirectory($lockDirectory)
@param string|null $lockDirectory
@return $this
  1. v11.0.0 追加
    変更後
    setLockDirectory($lockDirectory) [@param string|null $lockDirectory, @return $this]

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]