| 1 | <?php |
||
| 7 | class ConnectionBasedLockAdapter extends AbstractLockAdapter |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var ConnectionAdapterInterface |
||
| 11 | */ |
||
| 12 | protected $connectionAdapter; |
||
| 13 | |||
| 14 | public function __construct(ConnectionAdapterInterface $connectionAdapter) |
||
| 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 |