Files
ulthon_admin/app/mcp/service/Psr16ThinkCache.php

19 lines
326 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
namespace app\mcp\service;
use base\mcp\service\Psr16ThinkCacheBase;
/**
* MCP 会话 PSR-16 适配器(包装 Cache::store('mcp_session').
*/
class Psr16ThinkCache extends Psr16ThinkCacheBase
{
protected function defaultStore(): string
{
return 'mcp_session';
}
}