/home/techb158/ileadtechnology.com/SSM/vendor/laravel/framework/src/Illuminate/Cache
NameSizeModeActions
Console/-0755rm
Events/-0755rm
ApcStore.php25860644editdlrm
ApcWrapper.php18980644editdlrm
ArrayLock.php20800644editdlrm
ArrayStore.php46500644editdlrm
CacheManager.php96410644editdlrm
CacheServiceProvider.php11160644editdlrm
composer.json12190644editdlrm
DatabaseStore.php75830644editdlrm
DynamoDbLock.php14860644editdlrm
DynamoDbStore.php146640644editdlrm
FileStore.php68760644editdlrm
LICENSE.md10750644editdlrm
Lock.php30210644editdlrm
LuaScripts.php4620644editdlrm
MemcachedConnector.php23820644editdlrm
MemcachedLock.php14530644editdlrm
MemcachedStore.php63260644editdlrm
NullStore.php17250644editdlrm
RateLimiter.php28800644editdlrm
RedisLock.php15810644editdlrm
RedisStore.php71000644editdlrm
RedisTaggedCache.php47770644editdlrm
Repository.php159810644editdlrm
RetrievesMultipleKeys.php9540644editdlrm
TaggableStore.php4210644editdlrm
TaggedCache.php25100644editdlrm
TagSet.php21500644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/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]); } }