Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
17 | class CompatiblePipelineBuilder implements PipelineBuilderInterface |
||
18 | { |
||
19 | private InterceptorPipeline $pipeline; |
||
20 | |||
21 | public function __construct(?EventDispatcherInterface $dispatcher = null) |
||
24 | } |
||
25 | |||
26 | public function __clone() |
||
27 | { |
||
28 | $this->pipeline = clone $this->pipeline; |
||
29 | } |
||
30 | |||
31 | public function withInterceptors(CoreInterceptorInterface|InterceptorInterface ...$interceptors): static |
||
39 | } |
||
40 | |||
41 | public function build(HandlerInterface|CoreInterface $last): InterceptorPipeline |
||
49 |