| 1 | <?php |
||
| 8 | class Binary implements Body |
||
| 9 | { |
||
| 10 | private |
||
| 11 | $content; |
||
| 12 | |||
| 13 | 11 | public function __construct($content) |
|
| 17 | |||
| 18 | 5 | public function inOriginalFormat() |
|
| 19 | { |
||
| 20 | 5 | return $this->content; |
|
| 21 | } |
||
| 22 | |||
| 23 | 8 | public function asTransported() |
|
| 24 | { |
||
| 25 | 8 | return $this->content; |
|
| 26 | } |
||
| 27 | |||
| 28 | 8 | public function getContentType() |
|
| 32 | |||
| 33 | 1 | public function __toString() |
|
| 40 | |||
| 41 | 11 | public function changeContent($content) |
|
| 45 | |||
| 46 | public function isChunked() |
||
| 50 | } |
||
| 51 |