We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e9ed4 commit 513cdb0Copy full SHA for 513cdb0
2 files changed
composer.json
@@ -22,6 +22,7 @@
22
"require": {
23
"hyperf/config": "~3.1.0",
24
"hyperf/context": "~3.1.0",
25
+ "hyperf/macroable": "~3.1.0",
26
"hyperf/stringable": "~3.1.0",
27
"hyperf/support": "~3.1.0",
28
"nesbot/carbon": "^2.0 || ^3.0"
src/Driver/AbstractLock.php
@@ -12,6 +12,7 @@
12
namespace FriendsOfHyperf\Lock\Driver;
13
14
use FriendsOfHyperf\Lock\Exception\LockTimeoutException;
15
+use Hyperf\Macroable\Macroable;
16
use Hyperf\Stringable\Str;
17
use Hyperf\Support\Traits\InteractsWithTime;
18
use Override;
@@ -21,6 +22,7 @@
21
abstract class AbstractLock implements LockInterface
{
use InteractsWithTime;
+ use Macroable;
/**
* The scope identifier of this lock.
0 commit comments