Maximum number of iterations, null means infinite, any integer greater
than zero sets value. Zero is invalid because there must be at least one
iteration. Defaults to 1. Loop breaks if result of two consequent
iterations shows no change in processed text.
public withMaxIterations ( integer | null $iterations ) : self | ||
$iterations | integer | null | |
return | self |