GedzipReader
in package
Read onlyYes
FinalYes
Reads a GEDZIP archive (GEDCOM 7.0 section 3.6): gedcom.ged at its root, the media its FILE references name. The archive is checked before anything is decompressed: the sizes of the entries against the limits of {@see ReadOptions} (zip bombs), their names (zip-slip). The size of gedcom.ged is checked again as it is read, as the directory can lie.
Table of Contents
Methods
- __construct() : mixed
- read() : Archive
Methods
__construct()
public
__construct([Parser $parser = new Parser() ]) : mixed
Parameters
read()
public
read(string $path[, ReadOptions $options = new ReadOptions() ]) : Archive
Parameters
- $path : string
- $options : ReadOptions = new ReadOptions()