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.
hashing_key
Cache
useHash
1 parent 0e2804a commit faa66ceCopy full SHA for faa66ce
src/Services/Cache.php
@@ -32,7 +32,7 @@ class Cache
32
33
protected mixed $key;
34
35
- protected bool $hashing_key = true;
+ protected bool $useHash = true;
36
37
protected string $keyHash = '';
38
@@ -76,7 +76,7 @@ public function withAuth(): Cache
76
77
public function hashKey(bool $hash = true): Cache
78
{
79
- $this->hashing_key = $hash;
+ $this->useHash = $hash;
80
81
return $this;
82
}
@@ -159,6 +159,6 @@ protected function getKey(): string
159
array_unshift($key, $this->auth);
160
161
162
- return $this->key_hash = Key::get(':', $key, $this->hashing_key);
+ return $this->keyHash = Key::get(':', $key, $this->useHash);
163
164
0 commit comments