Total Complexity | 6 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class StackProcessor implements ProcessorInterface |
||
13 | { |
||
14 | /** |
||
15 | * The pipes callable |
||
16 | * |
||
17 | * @var callable |
||
18 | */ |
||
19 | private $callable; |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function process(array $pipes, array $payload, callable $outlet = null) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Build the chain callable |
||
37 | * |
||
38 | * @param array $pipes |
||
39 | * @param callable|null $outlet |
||
40 | * |
||
41 | * @return \Closure |
||
42 | */ |
||
43 | private function buildCallable($pipes, $outlet) |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function clearCache() |
||
70 |