| 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) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Returns the body stream as text |
||
| 38 | * |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function parse() |
||
| 46 | } |