Always outputs the same configured value, regardless of the input. Commonly used as an entry point to feed a process with static data.
- Service:
CleverAge\ProcessBundle\Task\ConstantOutputTask
Input is ignored
any: the value of the output option, as is
| Code | Type | Required | Default | Description |
|---|---|---|---|---|
output |
any |
X | Value to output |
- Output a static array, then dump it
# Task configuration level
entry:
service: '@CleverAge\ProcessBundle\Task\ConstantOutputTask'
options:
output:
id: 123
firstname: Test1
lastname: Test2
outputs: [debug]