src/Leevel/Throttler/Provider/Register.php
protected function throttler(): void
    {
        $this->container->singleton('throttler', function (IContainer $container) {
            return (new Throttler($container['caches']->
            connect($container['option']['throttler\\driver'])))->

            setRequest($container['request']);
        });
    }
protected function throttler(): void
    {
        $this->container->singleton('throttler', function (IContainer $container) {
            return (new Throttler($container['caches']->
            connect($container['option']['throttler\\driver'])))->

            setRequest($container['request']);
        });
    }
注册 throttler 服务.