Functional\Sequences\LinearSequence::__construct PHP Method

__construct() public method

public __construct ( $start, $amount )
    public function __construct($start, $amount)
    {
        InvalidArgumentException::assertIntegerGreaterThanOrEqual($start, 0, __METHOD__, 1);
        InvalidArgumentException::assertInteger($amount, __METHOD__, 2);
        $this->start = $start;
        $this->amount = $amount;
    }