| 1 | <?php | ||
| 5 | final class ChainProcessDecorator implements ChainProcessInterface | ||
| 6 | { | ||
| 7 | /** | ||
| 8 | * @var ChainProcessInterface | ||
| 9 | */ | ||
| 10 | private $process; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * @var ChainProcessInterface | ||
| 14 | */ | ||
| 15 | private $nextProcess; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @param ChainProcessInterface $process | ||
| 19 | * @param ChainProcessInterface $nextProcess | ||
| 20 | */ | ||
| 21 | 7 | public function __construct(ChainProcessInterface $process, ChainProcessInterface $nextProcess = null) | |
| 26 | |||
| 27 | /** | ||
| 28 |      * {@inheritdoc} | ||
| 29 | */ | ||
| 30 | 7 | public function execute(ChainContext $context) | |
| 38 | } | ||
| 39 |