Eris\Generator\ChooseGenerator::__construct PHP Method

__construct() public method

public __construct ( $x, $y )
    public function __construct($x, $y)
    {
        $this->checkLimits($x, $y);
        $this->lowerLimit = min($x, $y);
        $this->upperLimit = max($x, $y);
        $this->shrinkTarget = min(abs($this->lowerLimit), abs($this->upperLimit));
    }