/
home
/
techb158
/
immovalet.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cache
/
/home/techb158/immovalet.com/vendor/laravel/framework/src/Illuminate/Cache
mkdir
upload
Name
Size
Mode
Actions
Console/
-
0755
rm
Events/
-
0755
rm
RateLimiting/
-
0755
rm
ApcStore.php
2586
0644
edit
dl
rm
ApcWrapper.php
1898
0644
edit
dl
rm
ArrayLock.php
2080
0644
edit
dl
rm
ArrayStore.php
4661
0644
edit
dl
rm
CacheLock.php
1853
0644
edit
dl
rm
CacheManager.php
10650
0644
edit
dl
rm
CacheServiceProvider.php
1188
0644
edit
dl
rm
composer.json
1306
0644
edit
dl
rm
DatabaseLock.php
3640
0644
edit
dl
rm
DatabaseStore.php
10353
0644
edit
dl
rm
DynamoDbLock.php
1486
0644
edit
dl
rm
DynamoDbStore.php
14833
0644
edit
dl
rm
FileStore.php
8367
0644
edit
dl
rm
HasCacheLock.php
681
0644
edit
dl
rm
LICENSE.md
1075
0644
edit
dl
rm
Lock.php
3547
0644
edit
dl
rm
LuaScripts.php
462
0644
edit
dl
rm
MemcachedConnector.php
2382
0644
edit
dl
rm
MemcachedLock.php
1453
0644
edit
dl
rm
MemcachedStore.php
6326
0644
edit
dl
rm
NoLock.php
692
0644
edit
dl
rm
NullStore.php
2408
0644
edit
dl
rm
PhpRedisLock.php
3121
0644
edit
dl
rm
RateLimiter.php
3530
0644
edit
dl
rm
RedisLock.php
1794
0644
edit
dl
rm
RedisStore.php
8168
0644
edit
dl
rm
RedisTaggedCache.php
4777
0644
edit
dl
rm
Repository.php
16174
0644
edit
dl
rm
RetrievesMultipleKeys.php
1155
0644
edit
dl
rm
TaggableStore.php
421
0644
edit
dl
rm
TaggedCache.php
2532
0644
edit
dl
rm
TagSet.php
2150
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/vendor/laravel/framework/src/Illuminate/Cache/CacheLock.php
(1853B)
<?php namespace Illuminate\Cache; class CacheLock extends Lock { /** * The cache store implementation. * * @var \Illuminate\Contracts\Cache\Store */ protected $store; /** * Create a new lock instance. * * @param \Illuminate\Contracts\Cache\Store $store * @param string $name * @param int $seconds * @param string|null $owner * @return void */ public function __construct($store, $name, $seconds, $owner = null) { parent::__construct($name, $seconds, $owner); $this->store = $store; } /** * Attempt to acquire the lock. * * @return bool */ public function acquire() { if (method_exists($this->store, 'add') && $this->seconds > 0) { return $this->store->add( $this->name, $this->owner, $this->seconds ); } if (! is_null($this->store->get($this->name))) { return false; } return ($this->seconds > 0) ? $this->store->put($this->name, $this->owner, $this->seconds) : $this->store->forever($this->name, $this->owner, $this->seconds); } /** * Release the lock. * * @return bool */ public function release() { if ($this->isOwnedByCurrentProcess()) { return $this->store->forget($this->name); } return false; } /** * Releases this lock regardless of ownership. * * @return void */ public function forceRelease() { $this->store->forget($this->name); } /** * Returns the owner value written into the driver for this lock. * * @return mixed */ protected function getCurrentOwner() { return $this->store->get($this->name); } }
Save
cmd:
run