Lock

Illuminate\Cache\Lock

class src/Illuminate/Cache/Lock.php

__construct

v11.0.0 以前から

__construct($name, $seconds, $owner = null)
@param string $name
@param int $seconds
@param string|null $owner
  1. v11.0.0 追加
    変更後
    __construct($name, $seconds, $owner = null) [@param string $name, @param int $seconds, @param string|null $owner, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($name, $seconds, $owner = null) [@param string $name, @param int $seconds, @param string|null $owner, @return void]
    変更後
    __construct($name, $seconds, $owner = null) [@param string $name, @param int $seconds, @param string|null $owner]

acquire

v11.0.0 以前から

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

betweenBlockedAttemptsSleepFor

v11.0.0 以前から

betweenBlockedAttemptsSleepFor($milliseconds)
@param int $milliseconds
@return $this
  1. v11.0.0 追加
    変更後
    betweenBlockedAttemptsSleepFor($milliseconds) [@param int $milliseconds, @return $this]

block

v11.0.0 以前から

block($seconds, $callback = null)
@param int $seconds
@param callable|null $callback
@return mixed
  1. v11.0.0 追加
    変更後
    block($seconds, $callback = null) [@param int $seconds, @param callable|null $callback, @return mixed]

get

v11.0.0 以前から

get($callback = null)
@param callable|null $callback
@return mixed
  1. v11.0.0 追加
    変更後
    get($callback = null) [@param callable|null $callback, @return mixed]

isLocked

v13.7.0 から

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

isOwnedBy

v11.8.0 から

isOwnedBy($owner)
@param string|null $owner
@return bool
  1. v11.8.0 追加
    変更後
    isOwnedBy($owner) [@param string|null $owner, @return bool]

isOwnedByCurrentProcess

v11.0.0 以前から

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

owner

v11.0.0 以前から

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

refresh

v13.16.0 から

refresh($seconds = null)
@param int|null $seconds
@return bool
  1. v12.63.0 追加
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]
  2. v13.0.0 削除
    変更前
    refresh($seconds = null) [@param int|null $seconds, @return bool]
  3. v13.16.0 追加
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

release

v11.0.0 以前から

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