Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class BinaryResponse implements ResponseInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var StreamInterface|null |
||
21 | */ |
||
22 | protected $data = null; |
||
23 | |||
24 | /** |
||
25 | * Returns the raw data. |
||
26 | * |
||
27 | * @return StreamInterface|null The raw data as stream or null if no data is available. |
||
28 | */ |
||
29 | public function getData(): ?StreamInterface |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | public function parseResponseData($data): void |
||
43 | } |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @inheritDoc |
||
48 | */ |
||
49 | public function serialize(): string |
||
50 | { |
||
51 | return \serialize(null); |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @inheritDoc |
||
56 | */ |
||
57 | public function unserialize($serialized): void |
||
60 | } |
||
61 | } |
||
62 |