CompilesLoops
trait CompilesLoops (View source)
Свойства
| protected int | $forElseCounter | Счётчик для отслеживания вложенных инструкций forelse. |
Методы
| string | compileForelse(string $expression) Компилирует инструкции for-else в допустимый PHP. | |
| string | compileEmpty(string $expression) Компилирует инструкции for-else-empty и empty в допустимый PHP. | |
| string | compileEndforelse() Компилирует инструкции end-for-else в допустимый PHP. | |
| string | compileEndEmpty() Компилирует инструкции end-empty в допустимый PHP. | |
| string | compileFor(string $expression) Компилирует инструкции for в допустимый PHP. | |
| string | compileForeach(string $expression) Компилирует инструкции for-each в допустимый PHP. | |
| string | compileBreak(string $expression) Компилирует инструкции break в допустимый PHP. | |
| string | compileContinue(string $expression) Компилирует инструкции continue в допустимый PHP. | |
| string | compileEndfor() Компилирует инструкции end-for в допустимый PHP. | |
| string | compileEndforeach() Компилирует инструкции end-for-each в допустимый PHP. | |
| string | compileWhile(string $expression) Компилирует инструкции while в допустимый PHP. | |
| string | compileEndwhile() Компилирует инструкции end-while в допустимый PHP. |
Подробное описание
protected string compileForelse(string $expression)
Компилирует инструкции for-else в допустимый PHP.
protected string compileEmpty(string $expression)
Компилирует инструкции for-else-empty и empty в допустимый PHP.
protected string compileEndforelse()
Компилирует инструкции end-for-else в допустимый PHP.
protected string compileEndEmpty()
Компилирует инструкции end-empty в допустимый PHP.
protected string compileFor(string $expression)
Компилирует инструкции for в допустимый PHP.
protected string compileForeach(string $expression)
Компилирует инструкции for-each в допустимый PHP.
protected string compileBreak(string $expression)
Компилирует инструкции break в допустимый PHP.
protected string compileContinue(string $expression)
Компилирует инструкции continue в допустимый PHP.
protected string compileEndfor()
Компилирует инструкции end-for в допустимый PHP.
protected string compileEndforeach()
Компилирует инструкции end-for-each в допустимый PHP.
protected string compileWhile(string $expression)
Компилирует инструкции while в допустимый PHP.
protected string compileEndwhile()
Компилирует инструкции end-while в допустимый PHP.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/View/Compilers/Concerns/CompilesLoops.html