src/Traits/Capacity.php
protected function decreaseCapacity()
    {
        $this->capacity = max(self::MIN_CAPACITY, $this->capacity  * $this->getDecayFactor());
    }
protected function decreaseCapacity()
    {
        $this->capacity = max(self::MIN_CAPACITY, $this->capacity  * $this->getDecayFactor());
    }
protected function decreaseCapacity ( ) { $ this -> capacity = max ( self :: MIN_CAPACITY , $ this -> capacity * $ this -> getDecayFactor ( ) ) ; }
Called when capacity should be decrease if it drops below a threshold.
Called when capacity should be decrease if it drops below a threshold .