function TestDatabase::releaseLock
Releases a lock.
Return value
bool TRUE if successful, FALSE if not.
File
-
core/
lib/ Drupal/ Core/ Test/ TestDatabase.php, line 115
Class
- TestDatabase
- Provides helper methods for interacting with the fixture database.
Namespace
Drupal\Core\TestCode
public function releaseLock() : bool {
return unlink($this->getLockFile($this->lockId));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.