public function setGcProbability(int $dividend, int $divisor) : void
    {
        $this->gcDividend = $dividend;
        $this->gcDivisor = $divisor;
    }
public function setGcProbability(int $dividend, int $divisor) : void
    {
        $this->gcDividend = $dividend;
        $this->gcDivisor = $divisor;
    }
public function setGcProbability ( int $ dividend , int $ divisor ) : void { $ this -> gcDividend = $ dividend ; $ this -> gcDivisor = $ divisor ; }
Sets the probability for the garbage collection to be triggered on any given request.

For example, setGcProbability(1, 100) gives a 1% chance for the gc to be triggered.

@param int $dividend
@param int $divisor

@return void
Sets the probability for the garbage collection to be triggered on any given request .