function 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.