Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 57.14% |
Changes | 0 |
1 | <?php |
||
24 | class RequestModifierPipeline |
||
25 | { |
||
26 | /** |
||
27 | * @var RequestModifierInterface[] |
||
28 | */ |
||
29 | private $requestModifiers = []; |
||
30 | |||
31 | public function pipe(RequestModifierInterface $requestModifier): self |
||
32 | { |
||
33 | $this->requestModifiers[] = $requestModifier; |
||
34 | |||
35 | return $this; |
||
36 | } |
||
37 | |||
38 | 45 | public function process(CurlRequest $curlRequest) |
|
45 | } |
||
46 | } |
||
47 |