| 1 | <?php |
||
| 7 | abstract class Processor { |
||
| 8 | /** |
||
| 9 | * Configuration given by the user. |
||
| 10 | * |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | protected $nodes = []; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param array $nodes |
||
| 17 | */ |
||
| 18 | 10 | public function initialize(array $nodes) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $arguments |
||
| 25 | * @return \tomzx\Dataflow\Result |
||
| 26 | */ |
||
| 27 | public function process(array $arguments) |
||
| 31 | } |
||
| 32 |