Reads a folder and iterate on each file, returning absolute path as string.
- Service:
CleverAge\ProcessBundle\Task\File\InputFolderBrowserTask
- Iterable task
string
: folder path
string
: absolute path of the file.
Underlying method is Symfony Finder component.
Code | Type | Required | Default | Description |
---|---|---|---|---|
base_folder_path |
string |
Concatenated with input folder_path |
# Task configuration level
entry:
service: '@CleverAge\ProcessBundle\Task\ConstantOutputTask'
options:
output: '/var/data'
outputs: directory
directory:
service: '@CleverAge\ProcessBundle\Task\File\InputFolderBrowserTask'
options:
base_folder_path: '%kernel.project_dir%'
outputs: read