function StubLockBackendAbstract::lockMayBeAvailable

Overrides LockBackendInterface::lockMayBeAvailable

File

core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php, line 24

Class

StubLockBackendAbstract
A stub of the abstract LockBackendAbstract class for testing purposes.

Namespace

Drupal\Tests\Core\Lock

Code

public function lockMayBeAvailable($name) : bool {
    throw new \LogicException(__METHOD__ . '() is not implemented.');
}

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