Limits.php
351 Bytes
<?php
namespace App\Service\Contract;
interface Limits{
function current(): int;
function DayLimit(): int;
function countObjectsLimit(String $service, String $method): int;
function doRezerv(String $service, String $method, int $limit): int;
function removeRezerv(int $id): int;
function updateLimits(HeaderLimits $limits);
}