LockableFile

Illuminate\Filesystem\LockableFile

class src/Illuminate/Filesystem/LockableFile.php

__construct

v11.0.0 以前から

__construct($path, $mode)
@param string $path
@param string $mode
  1. v11.0.0 追加
    変更後
    __construct($path, $mode) [@param string $path, @param string $mode, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($path, $mode) [@param string $path, @param string $mode, @return void]
    変更後
    __construct($path, $mode) [@param string $path, @param string $mode]

close

v11.0.0 以前から

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

getExclusiveLock

v11.0.0 以前から

getExclusiveLock($block = false)
@param bool $block
@return $this
  1. v11.0.0 追加
    変更後
    getExclusiveLock($block = false) [@param bool $block, @return bool]
  2. v11.2.0 シグネチャ変更
    変更前
    getExclusiveLock($block = false) [@param bool $block, @return bool]
    変更後
    getExclusiveLock($block = false) [@param bool $block, @return $this]

getSharedLock

v11.0.0 以前から

getSharedLock($block = false)
@param bool $block
@return $this
  1. v11.0.0 追加
    変更後
    getSharedLock($block = false) [@param bool $block, @return $this]

read

v11.0.0 以前から

read($length = null)
@param int|null $length
@return string
  1. v11.0.0 追加
    変更後
    read($length = null) [@param int|null $length, @return string]

releaseLock

v11.0.0 以前から

releaseLock()
@return $this
  1. v11.0.0 追加
    変更後
    releaseLock() [@return $this]

size

v11.0.0 以前から

size()
@return int
  1. v11.0.0 追加
    変更後
    size() [@return int]

truncate

v11.0.0 以前から

truncate()
@return $this
  1. v11.0.0 追加
    変更後
    truncate() [@return $this]

write

v11.0.0 以前から

write($contents)
@param string $contents
@return $this
  1. v11.0.0 追加
    変更後
    write($contents) [@param string $contents, @return $this]