public function __construct(NumberGeneratorInterface $weightGenerator, $min, $max, $slope = 1, $base = 1) { $coefficients = array(1 => $slope, 0 => $base); parent::__construct($weightGenerator, $min, $max, $coefficients); }
public function __construct(NumberGeneratorInterface $weightGenerator, $min, $max, $a = 1, $b = 0, $c = 1) { $coefficients = array(2 => $a, 1 => $b, 0 => $c); parent::__construct($weightGenerator, $min, $max, $coefficients); }