public function __construct(Tracker $tracker, ZipArchive $zip, $extraction_path) { parent::__construct($zip); $this->extraction_path = $this->tempdir($extraction_path, $tracker->getId()); }
/** * @param $project_identifier a unique identifier for the project to import * (used in creating the temporary path) */ public function __construct($project_identifier, ZipArchive $zip, $extraction_path) { parent::__construct($zip); $this->extraction_path = $this->tempdir($extraction_path, $project_identifier); }
public function __construct(Project $project, ZipArchive $zip, $extraction_path) { parent::__construct($zip); $this->extraction_path = $this->tempdir($extraction_path, $project->getID()); }