14 lines
428 B
PHP
14 lines
428 B
PHP
<?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');
|
|
}
|
|
} |