| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class PipelineBuilder implements PipelineBuilderInterface |
||
| 13 | { |
||
| 14 | private InterceptorPipeline $pipeline; |
||
| 15 | |||
| 16 | 3 | public function __construct() |
|
| 17 | { |
||
| 18 | 3 | $this->pipeline = new InterceptorPipeline(); |
|
| 19 | } |
||
| 20 | |||
| 21 | 2 | public function withInterceptors(InterceptorInterface ...$interceptors): static |
|
| 26 | } |
||
| 27 | |||
| 28 | 2 | public function build(HandlerInterface $last): HandlerInterface |
|
| 31 | } |
||
| 32 | } |
||
| 33 |