add cache storage placeholder

This commit is contained in:
2025-11-12 09:32:49 +08:00
parent e46da76458
commit 6949ea8d71
2 changed files with 78 additions and 0 deletions
@@ -0,0 +1,14 @@
<?php
use Hyperf\RateLimit\Storage\StorageInterface;
use Psr\Container\ContainerInterface;
class MemoryTableStorage implements StorageInterface
{
// @TODO 使用 https://wiki.swoole.com/zh-cn/#/memory/table 创建限流的缓存系统
public function __construct(ContainerInterface $container, string $key, int $timeout, array $options = [])
{
throw new \Exception('Not implemented');
}
}