shell bypass 403

UnknownSec Shell


name : PsrCacheAdapter.php
<?php
namespace Aws;

use Psr\Cache\CacheItemPoolInterface;

class PsrCacheAdapter implements CacheInterface
{
    /** @var CacheItemPoolInterface */
    private $pool;

    public function __construct(CacheItemPoolInterface $pool)
    {
        $this->pool = $pool;
    }

    public function get($key)
    {
        $item = $this->pool->getItem($key);

        return $item->isHit() ? $item->get() : null;
    }

    public function set($key, $value, $ttl = 0)
    {
        $item = $this->pool->getItem($key);
        $item->set($value);
        if ($ttl > 0) {
            $item->expiresAfter($ttl);
        }

        $this->pool->save($item);
    }

    public function remove($key)
    {
        $this->pool->deleteItem($key);
    }
}

© 2025 UnknownSec
A-Z Web Programming | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar
A-Z Web Programming

A-Z Web Programming

in Web Development
4.75
(1 Ratings)
Created by Linda Anderson

Share

Share course with your friends

Buy with points