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
-
v11.0.0
追加
- 変更後
__construct($name, $seconds, $owner = null) [@param string $name, @param int $seconds, @param string|null $owner, @return void]
-
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
-
v11.0.0
追加
- 変更後
acquire() [@return bool]
betweenBlockedAttemptsSleepFor
v11.0.0 以前から
betweenBlockedAttemptsSleepFor($milliseconds)
@param int $milliseconds
@return $this
-
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
-
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
-
v11.0.0
追加
- 変更後
get($callback = null) [@param callable|null $callback, @return mixed]
isLocked
v13.7.0 から
isLocked(): bool
@return bool
-
v13.7.0
追加
- 変更後
isLocked(): bool [@return bool]
isOwnedBy
v11.8.0 から
isOwnedBy($owner)
@param string|null $owner
@return bool
-
v11.8.0
追加
- 変更後
isOwnedBy($owner) [@param string|null $owner, @return bool]
isOwnedByCurrentProcess
v11.0.0 以前から
isOwnedByCurrentProcess()
@return bool
-
v11.0.0
追加
- 変更後
isOwnedByCurrentProcess() [@return bool]
owner
v11.0.0 以前から
owner()
@return string
-
v11.0.0
追加
- 変更後
owner() [@return string]
refresh
v13.16.0 から
refresh($seconds = null)
@param int|null $seconds
@return bool
release
v11.0.0 以前から
release()
@return bool
-
v11.0.0
追加
- 変更後
release() [@return bool]