✏️ 正在编辑: Psr16CacheAdapter.php
路径:
/srv/systems_dir/koruspay/vendor/aws/aws-sdk-php/src/Psr16CacheAdapter.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php namespace Aws; use Psr\SimpleCache\CacheInterface as SimpleCacheInterface; class Psr16CacheAdapter implements CacheInterface { /** @var SimpleCacheInterface */ private $cache; public function __construct(SimpleCacheInterface $cache) { $this->cache = $cache; } public function get($key) { return $this->cache->get($key); } public function set($key, $value, $ttl = 0) { $this->cache->set($key, $value, $ttl); } public function remove($key) { $this->cache->delete($key); } }
💾 保存文件
← 返回文件管理器