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