trait
Illuminate
/
View
/
Concerns
/
ManagesLoops
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ManagesLoops
Properties
protected
$loopsStack array
The stack of in-progress loops.
Default: []
Methods
public
incrementLoopIndices ( ) : void
Increment the top loop's indices.
public
popLoop ( ) : void
Pop a loop from the top of the loop stack.
public
getLastLoop ( ) : stdClass|null
Get an instance of the last loop in the stack.
public
getLoopStack ( ) : array
Get the entire loop stack.