Stiphle\Throttle\LeakyBucket::setStorage PHP Метод

setStorage() публичный Метод

Set Storage
public setStorage ( Stiphle\Storage\StorageInterface $storage ) : LeakyBucket
$storage Stiphle\Storage\StorageInterface
Результат LeakyBucket
    public function setStorage(StorageInterface $storage)
    {
        $this->storage = $storage;
        return $this;
    }