ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.144.43.47 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/nicnAdmin/vendor/laravel/framework/src/Illuminate/Cache/ |
Upload File : |
<?php namespace Illuminate\Cache; use Illuminate\Contracts\Cache\Store; class TaggedCache extends Repository { use RetrievesMultipleKeys; /** * The tag set instance. * * @var \Illuminate\Cache\TagSet */ protected $tags; /** * Create a new tagged cache instance. * * @param \Illuminate\Contracts\Cache\Store $store * @param \Illuminate\Cache\TagSet $tags * @return void */ public function __construct(Store $store, TagSet $tags) { parent::__construct($store); $this->tags = $tags; } /** * {@inheritdoc} */ protected function fireCacheEvent($event, $payload) { $payload[] = $this->tags->getNames(); parent::fireCacheEvent($event, $payload); } /** * Increment the value of an item in the cache. * * @param string $key * @param mixed $value * @return void */ public function increment($key, $value = 1) { $this->store->increment($this->itemKey($key), $value); } /** * Increment the value of an item in the cache. * * @param string $key * @param mixed $value * @return void */ public function decrement($key, $value = 1) { $this->store->decrement($this->itemKey($key), $value); } /** * Remove all items from the cache. * * @return void */ public function flush() { $this->tags->reset(); } /** * {@inheritdoc} */ protected function itemKey($key) { return $this->taggedItemKey($key); } /** * Get a fully qualified key for a tagged item. * * @param string $key * @return string */ public function taggedItemKey($key) { return sha1($this->tags->getNamespace()).':'.$key; } }