Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class NullParser implements BodyParserInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var StreamInterface |
||
24 | */ |
||
25 | private $stream; |
||
26 | |||
27 | /** |
||
28 | * Creates NullParser |
||
29 | * @param StreamInterface $stream |
||
30 | */ |
||
31 | public function __construct(StreamInterface $stream) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Returns the body stream as text |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | public function parse() |
||
47 |