public function stream_lock(int $operation): bool
    {
        if ((LOCK_NB & $operation) == LOCK_NB) {
            $operation = $operation - LOCK_NB;
        }

        return $this->content->lock($this, $operation);
    }
public function stream_lock(int $operation): bool
    {
        if ((LOCK_NB & $operation) == LOCK_NB) {
            $operation = $operation - LOCK_NB;
        }

        return $this->content->lock($this, $operation);
    }
public function stream_lock ( int $ operation ) : bool { if ( ( LOCK_NB & $ operation ) == LOCK_NB ) { $ operation = $ operation - LOCK_NB ; } return $ this -> content -> lock ( $ this , $ operation ) ; }
set lock status for stream

@param   int   $operation
@return  bool
@since   0.10.0
@see     https://github.com/mikey179/vfsStream/issues/6
@see     https://github.com/mikey179/vfsStream/issues/31
@see     https://github.com/mikey179/vfsStream/issues/40
set lock status for stream