trait CompilesLoops (View source)
protected int | $forElseCounter | Counter to keep track of nested forelse statements. |
string | compileForelse(string $expression) Compile the for-else statements into valid PHP. | |
string | compileEmpty(string $expression) Compile the for-else-empty and empty statements into valid PHP. | |
string | compileEndforelse() Compile the end-for-else statements into valid PHP. | |
string | compileEndEmpty() Compile the end-empty statements into valid PHP. | |
string | compileFor(string $expression) Compile the for statements into valid PHP. | |
string | compileForeach(string $expression) Compile the for-each statements into valid PHP. | |
string | compileBreak(string $expression) Compile the break statements into valid PHP. | |
string | compileContinue(string $expression) Compile the continue statements into valid PHP. | |
string | compileEndfor() Compile the end-for statements into valid PHP. | |
string | compileEndforeach() Compile the end-for-each statements into valid PHP. | |
string | compileWhile(string $expression) Compile the while statements into valid PHP. | |
string | compileEndwhile() Compile the end-while statements into valid PHP. |
Compile the for-else statements into valid PHP.
Compile the for-else-empty and empty statements into valid PHP.
Compile the end-for-else statements into valid PHP.
Compile the end-empty statements into valid PHP.
Compile the for statements into valid PHP.
Compile the for-each statements into valid PHP.
Compile the break statements into valid PHP.
Compile the continue statements into valid PHP.
Compile the end-for statements into valid PHP.
Compile the end-for-each statements into valid PHP.
Compile the while statements into valid PHP.
Compile the end-while statements into valid PHP.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/Compilers/Concerns/CompilesLoops.html