| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class StreamDecoderFactory |
||
| 22 | { |
||
| 23 | public function newBase64StreamDecorator($resource) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function newQuotedPrintableStreamDecorator($resource) |
||
| 33 | } |
||
| 34 | |||
| 35 | public function newUUStreamDecorator($resource) |
||
| 36 | { |
||
| 37 | $stream = new UUStreamDecorator(Psr7\stream_for($resource)); |
||
| 38 | return StreamWrapper::getResource($stream); |
||
| 39 | } |
||
| 40 | |||
| 41 | public function newCharsetStreamDecorator($resource, $fromCharset, $toCharset) |
||
| 45 | } |
||
| 46 | } |
||
| 47 |