function Destructable::setSemaphore

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/destructable_test/src/Destructable.php \Drupal\destructable_test\Destructable::setSemaphore()

Set the destination for the semaphore file.

Parameters

string $semaphore: Temporary file to set a semaphore flag.

File

core/modules/system/tests/modules/destructable_test/src/Destructable.php, line 22

Class

Destructable

Namespace

Drupal\destructable_test

Code

public function setSemaphore(string $semaphore) : void {
    $this->semaphore = $semaphore;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.