RecursiveIteratorIterator::setMaxDepth
Set max depth
&reftitle.description;
public voidRecursiveIteratorIterator::setMaxDepth
intmaxDepth-1
Set the maximum allowed depth.
&warn.undocumented.func;
&reftitle.parameters;
maxDepth
The maximum allowed depth. -1 is used
for any depth.
&reftitle.returnvalues;
&return.void;
&reftitle.errors;
Emits an Exception if maxDepth is less than -1.