/home/techb158/ileadtechnology.com/vendor/laravel/framework/src/Illuminate/Cache
NameSizeModeActions
Console/-0755rm
Events/-0755rm
ApcStore.php25860755editdlrm
ApcWrapper.php18980755editdlrm
ArrayLock.php20800644editdlrm
ArrayStore.php46610644editdlrm
CacheManager.php97820755editdlrm
CacheServiceProvider.php11160755editdlrm
composer.json12240755editdlrm
DatabaseLock.php34190644editdlrm
DatabaseStore.php98420755editdlrm
DynamoDbLock.php14860644editdlrm
DynamoDbStore.php146640644editdlrm
FileStore.php72910755editdlrm
LICENSE.md10750644editdlrm
Lock.php35450644editdlrm
LuaScripts.php4620644editdlrm
MemcachedConnector.php23820755editdlrm
MemcachedLock.php14530644editdlrm
MemcachedStore.php63260755editdlrm
NullStore.php17250755editdlrm
RateLimiter.php28800644editdlrm
RedisLock.php15810644editdlrm
RedisStore.php71000755editdlrm
RedisTaggedCache.php47540644editdlrm
Repository.php159810755editdlrm
RetrievesMultipleKeys.php9540644editdlrm
TaggableStore.php4210644editdlrm
TaggedCache.php25100644editdlrm
TagSet.php21500644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/laravel/framework/src/Illuminate/Cache/ArrayLock.php (2080B)
store = $store; } /** * Attempt to acquire the lock. * * @return bool */ public function acquire() { $expiration = $this->store->locks[$this->name]['expiresAt'] ?? Carbon::now()->addSecond(); if ($this->exists() && $expiration->isFuture()) { return false; } $this->store->locks[$this->name] = [ 'owner' => $this->owner, 'expiresAt' => $this->seconds === 0 ? null : Carbon::now()->addSeconds($this->seconds), ]; return true; } /** * Determine if the current lock exists. * * @return bool */ protected function exists() { return isset($this->store->locks[$this->name]); } /** * Release the lock. * * @return bool */ public function release() { if (! $this->exists()) { return false; } if (! $this->isOwnedByCurrentProcess()) { return false; } $this->forceRelease(); return true; } /** * Returns the owner value written into the driver for this lock. * * @return string */ protected function getCurrentOwner() { return $this->store->locks[$this->name]['owner']; } /** * Releases this lock in disregard of ownership. * * @return void */ public function forceRelease() { unset($this->store->locks[$this->name]); } }