Skip to content

Proposition::everyInteger()

Jonathan Gjertsen edited this page Jun 18, 2017 · 3 revisions

Syntax

$proposition->given(Proposition::everyInteger($min, $max));

Provides a stream with every integer between $min (inclusive) and $max (inclusive).

Throws an Exception if $max is less than $min.