| Total Complexity | 12 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class ZipNewEntry extends ZipAbstractEntry |
||
| 12 | { |
||
| 13 | /** @var resource|string|null */ |
||
| 14 | protected $content; |
||
| 15 | |||
| 16 | /** @var bool */ |
||
| 17 | private $clone = false; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * ZipNewEntry constructor. |
||
| 21 | * |
||
| 22 | * @param string|resource|null $content |
||
| 23 | */ |
||
| 24 | public function __construct($content = null) |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns an string content of the given entry. |
||
| 36 | * |
||
| 37 | * @return string|null |
||
| 38 | */ |
||
| 39 | public function getEntryContent() |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Clone extra fields. |
||
| 54 | */ |
||
| 55 | public function __clone() |
||
| 59 | } |
||
| 60 | |||
| 61 | public function __destruct() |
||
| 69 |