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