| 1 | <?php |
||
| 5 | class CompressedFormat extends Format |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Format |
||
| 9 | */ |
||
| 10 | private $subFormat; |
||
| 11 | |||
| 12 | private $uriInsideArchive; |
||
| 13 | private $wrapper; |
||
| 14 | |||
| 15 | protected $name = 'Compressed File'; |
||
| 16 | protected $id = 'compress'; |
||
| 17 | |||
| 18 | 3 | public function __construct($uriInsideArchive = null, $wrapper = 'zip', Format $subFormat = null) |
|
| 31 | |||
| 32 | 1 | public function getSubFormat() |
|
| 36 | |||
| 37 | 1 | public function getInsideStream(\SplFileInfo $file) |
|
| 49 | |||
| 50 | public function __toString() |
||
| 54 | } |
||
| 55 |