Iterates over the input and outputs each value one by one.
- Service:
CleverAge\ProcessBundle\Task\InputIteratorTask - Iterable task
array, \Iterator or \IteratorAggregate: any other type throws an \UnexpectedValueException
any: each value of the input (keys are not transmitted). If the input is empty, the task is skipped.
This task has no option.
- Aggregate a list, then iterate over it again
# Task configuration level
aggregate:
service: '@CleverAge\ProcessBundle\Task\AggregateIterableTask'
outputs: [iterate]
iterate:
service: '@CleverAge\ProcessBundle\Task\InputIteratorTask'
outputs: [next_task]