Home Documentation Forum Install Aeon\RateLimiter\Algorithm View at GitHub ( 1.x ) Introduction Interface synopis interface Algorithm { public hit ( string $id , Storage $storage ) : void public estimate ( string $id , Storage $storage ) : TimeUnit public capacity ( string $id , Storage $storage ) : int public resetIn ( string $id , Storage $storage ) : TimeUnit public capacityInitial ( void ) : int } Table of Contents Algorithm::hit Algorithm::estimate Algorithm::capacity Algorithm::resetIn Algorithm::capacityInitial
Aeon\RateLimiter\Algorithm View at GitHub ( 1.x ) Introduction Interface synopis interface Algorithm { public hit ( string $id , Storage $storage ) : void public estimate ( string $id , Storage $storage ) : TimeUnit public capacity ( string $id , Storage $storage ) : int public resetIn ( string $id , Storage $storage ) : TimeUnit public capacityInitial ( void ) : int } Table of Contents Algorithm::hit Algorithm::estimate Algorithm::capacity Algorithm::resetIn Algorithm::capacityInitial