/** * Construct an archive writer. * * @param string $filename * @param string $compression */ public function __construct($filename, $compression) { parent::__construct($filename, $compression); }
/** * Create iterator instance. * * @param Curry_Archive $archive * @param array $options */ public function __construct(Curry_Archive $archive, $options = array()) { parent::__construct($archive->getFilename(), $archive->getCompression()); $this->options = $options; }