iterator.shift ViewHelper <vhs:iterator.shift>
Shifts the first value off $subject (but does not change $subject itself as array_shift would).
Arguments
subject
- DataType
- mixed
- Required
- false
- Description
- The input array/Traversable to shift
as
- DataType
- string
- Required
- false
- Description
- Template variable name to assign; if not specified the ViewHelper returns the variable instead.