Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | trait ProcessorTrait |
||
19 | { |
||
20 | /** @var ProcessorInterface[] */ |
||
21 | private $processors = []; |
||
22 | |||
23 | /** |
||
24 | * Process given view source using set of associated processors. |
||
25 | * |
||
26 | * @param ViewSource $source |
||
27 | * @param ContextInterface $context |
||
28 | * @return ViewSource |
||
29 | */ |
||
30 | private function process(ViewSource $source, ContextInterface $context): ViewSource |
||
39 |