Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. vfsStreamWrapper.php

function vfsStreamWrapper::stream_lock

set lock status for stream

@since 0.10.0

Parameters

int $operation:

Return value

bool

See also

https://github.com/mikey179/vfsStream/issues/6

https://github.com/mikey179/vfsStream/issues/31

https://github.com/mikey179/vfsStream/issues/40

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php, line 698

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal