| 1 | <?php |
||
| 7 | class StorageBasedLockAdapter extends AbstractLockAdapter |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var StorageDriverInterface |
||
| 11 | */ |
||
| 12 | protected $storageDriver; |
||
| 13 | |||
| 14 | public function __construct(StorageDriverInterface $storageDriver) |
||
| 18 | |||
| 19 | protected function doGetLock(string $name) |
||
| 28 | |||
| 29 | protected function doAcquireLock(string $name): bool |
||
| 43 | |||
| 44 | protected function doReleaseLock(string $name) |
||
| 48 | |||
| 49 | protected function getLockFileName(string $lockName): string |
||
| 53 | } |
||
| 54 |