lib/Zip/src/CentralDirectoryHeader.php 1 location
|
@@ 734-740 (lines=7) @@
|
731 |
|
* @param string $extraField |
732 |
|
* @return CentralDirectoryHeader |
733 |
|
*/ |
734 |
|
public function setExtraField(string $extraField): CentralDirectoryHeader |
735 |
|
{ |
736 |
|
$obj = clone $this; |
737 |
|
$obj->extraField = $extraField; |
738 |
|
$obj->extraFieldLength = \strlen($extraField); |
739 |
|
return $obj; |
740 |
|
} |
741 |
|
|
742 |
|
/** |
743 |
|
* @return string |
lib/Zip/src/LocalFileHeader.php 1 location
|
@@ 478-484 (lines=7) @@
|
475 |
|
* @param string $extraField |
476 |
|
* @return LocalFileHeader |
477 |
|
*/ |
478 |
|
public function setExtraField(string $extraField): LocalFileHeader |
479 |
|
{ |
480 |
|
$obj = clone $this; |
481 |
|
$obj->extraField = $extraField; |
482 |
|
$obj->extraFieldLength = \strlen($extraField); |
483 |
|
return $obj; |
484 |
|
} |
485 |
|
} |
486 |
|
|