uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
dealnest.codeskitter.site
/
app
/
Services
/
CachingService.php
/
/
<?php namespace App\Services; use App\Models\Language; use Illuminate\Support\Facades\Cache; class CachingService { /** * @param $key * @param callable $callback - Callback function must return a value * @param int $time = 3600 * @return mixed */ public function systemLevelCaching($key, callable $callback, int $time = 3600) { return Cache::remember($key, $time, $callback); } /** * @param array|string $key * @return mixed|string */ public function getDefaultLanguage() { $systemDefaultLanguageCode = system_setting('default_language'); if(!empty($systemDefaultLanguageCode)){ $language = Language::where('code',$systemDefaultLanguageCode)->first(); if(collect($language)->isNotEmpty()){ return $this->systemLevelCaching(config('constants.CACHE.SYSTEM.DEFAULT_LANGUAGE'), function () use ($language) { return $language; }); } return null; } } public function removeSystemCache($key) { Cache::forget($key); } }
/home/users/unlimited/www/dealnest.codeskitter.site/app/Services/CachingService.php