File "Lock.php"
Full Path: /home/aiclgcwq/photonindustriespvt.com/wp-content/plugins/tenweb-speed-optimizer/vendor/enqueue/fs/Lock.php
File size: 543 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Enqueue\Fs;
interface Lock
{
/**
* Returns the control If the look has been obtained
* If not, should throw CannotObtainLockException exception.
*
* @param FsDestination $destination
*
* @throws CannotObtainLockException if look could not be obtained
*/
public function lock(FsDestination $destination);
/**
* @param FsDestination $destination
*/
public function release(FsDestination $destination);
public function releaseAll();
}