Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class UrlEncodedParser implements BodyParserInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var StreamInterface |
||
24 | */ |
||
25 | private $stream; |
||
26 | |||
27 | /** |
||
28 | * Creates an URL Encoded Body Parser |
||
29 | * |
||
30 | * @param StreamInterface $stream |
||
31 | */ |
||
32 | public function __construct(StreamInterface $stream) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Parses the URL encoded body. |
||
39 | * |
||
40 | * @return array |
||
41 | */ |
||
42 | public function parse() |
||
49 |