62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
|
name: ManagesLoops
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Arr
|
||
|
type: class
|
||
|
source: Illuminate\Support\Arr
|
||
|
- name: LazyCollection
|
||
|
type: class
|
||
|
source: Illuminate\Support\LazyCollection
|
||
|
properties:
|
||
|
- name: loopsStack
|
||
|
visibility: protected
|
||
|
comment: '# * The stack of in-progress loops.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var array'
|
||
|
methods:
|
||
|
- name: addLoop
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: data
|
||
|
comment: "# * The stack of in-progress loops.\n# *\n# * @var array\n# */\n# protected\
|
||
|
\ $loopsStack = [];\n# \n# /**\n# * Add new loop to the stack.\n# *\n# * @param\
|
||
|
\ \\Countable|array $data\n# * @return void"
|
||
|
- name: incrementLoopIndices
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Increment the top loop''s indices.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return void'
|
||
|
- name: popLoop
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Pop a loop from the top of the loop stack.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return void'
|
||
|
- name: getLastLoop
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get an instance of the last loop in the stack.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return \stdClass|null'
|
||
|
- name: getLoopStack
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the entire loop stack.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return array'
|
||
|
traits:
|
||
|
- Illuminate\Support\Arr
|
||
|
- Illuminate\Support\LazyCollection
|
||
|
interfaces: []
|