org\bovigo\vfs\vfsStreamWrapper::stream_lock PHP 메소드

stream_lock() 공개 메소드

set lock status for stream
또한 보기: https://github.com/mikey179/vfsStream/issues/6
또한 보기: https://github.com/mikey179/vfsStream/issues/31
또한 보기: https://github.com/mikey179/vfsStream/issues/40
부터: 0.10.0
public stream_lock ( integer $operation ) : boolean
$operation integer
리턴 boolean
    public function stream_lock($operation)
    {
        if ((LOCK_NB & $operation) == LOCK_NB) {
            $operation = $operation - LOCK_NB;
        }
        return $this->content->lock($this, $operation);
    }