Conditions | 4 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 4 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 4 | public function processStreamDecode($content) |
|
26 | { |
||
27 | 4 | foreach ($this->streamsDecoders as $decoder) { |
|
28 | 1 | $header = $this->getStreamHeader($decoder->getHeaderKey()); |
|
29 | 1 | if (!empty($header) && $decoder->canDecode(strval($header))) { |
|
30 | 1 | $content = $decoder->processDecode($content); |
|
31 | } |
||
32 | } |
||
33 | 4 | return $content; |
|
34 | } |
||
47 |