/** * @param string * @param string * @param string * @param string|NULL */ public function __construct($dataPath, $sourceUrl, $tempPath, $zipRootDirectory = NULL) { parent::__construct(); $this->dataPath = $dataPath; $this->sourceUrl = $sourceUrl; $this->tempPath = $tempPath; $this->zipRootDirectory = $zipRootDirectory; }
public function __construct(AddonUpdaterService $addonUpdaterService, Context $db) { parent::__construct(); $this->addonUpdaterService = $addonUpdaterService; $this->db = $db; }