1 | <?php |
||
20 | class JsonParser implements BodyParserInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var StreamInterface |
||
24 | */ |
||
25 | private $stream; |
||
26 | |||
27 | /** |
||
28 | * Creates JsonParser |
||
29 | * @param StreamInterface $stream |
||
30 | */ |
||
31 | public function __construct(StreamInterface $stream) |
||
35 | |||
36 | /** |
||
37 | * Parses the provided |
||
38 | * |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public function parse() |
||
46 | } |