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

Breadcrumb

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

function vfsStreamFile::setExclusiveLock

Set exlusive lock on file by given resource

Parameters

resource|vfsStreamWrapper $resource:

See also

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

1 call to vfsStreamFile::setExclusiveLock()
vfsStreamFile::lock in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamFile.php
locks file for

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamFile.php, line 315

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

protected function setExclusiveLock($resource) {
    $this->exclusiveLock = $this->getResourceId($resource);
}

API Navigation

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