137 lines
3 KiB
YAML
137 lines
3 KiB
YAML
|
name: CompilesLoops
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: ViewCompilationException
|
||
|
type: class
|
||
|
source: Illuminate\Contracts\View\ViewCompilationException
|
||
|
properties:
|
||
|
- name: forElseCounter
|
||
|
visibility: protected
|
||
|
comment: '# * Counter to keep track of nested forelse statements.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var int'
|
||
|
methods:
|
||
|
- name: compileForelse
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: "# * Counter to keep track of nested forelse statements.\n# *\n# * @var\
|
||
|
\ int\n# */\n# protected $forElseCounter = 0;\n# \n# /**\n# * Compile the for-else\
|
||
|
\ statements into valid PHP.\n# *\n# * @param string $expression\n# * @return\
|
||
|
\ string\n# *\n# * @throws \\Illuminate\\Contracts\\View\\ViewCompilationException"
|
||
|
- name: compileEmpty
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: '# * Compile the for-else-empty and empty statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $expression
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileEndforelse
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Compile the end-for-else statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileEndEmpty
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Compile the end-empty statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileFor
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: '# * Compile the for statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $expression
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileForeach
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: '# * Compile the for-each statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $expression
|
||
|
|
||
|
# * @return string
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @throws \Illuminate\Contracts\View\ViewCompilationException'
|
||
|
- name: compileBreak
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: '# * Compile the break statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $expression
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileContinue
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: '# * Compile the continue statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $expression
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileEndfor
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Compile the end-for statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileEndforeach
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Compile the end-for-each statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileWhile
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: expression
|
||
|
comment: '# * Compile the while statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $expression
|
||
|
|
||
|
# * @return string'
|
||
|
- name: compileEndwhile
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Compile the end-while statements into valid PHP.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
traits:
|
||
|
- Illuminate\Contracts\View\ViewCompilationException
|
||
|
interfaces: []
|