function __construct($data) { parent::__construct($data); $this->temp_file = $this->temp_path . '.zip'; $this->archive_url = property_exists($this->data, 'archive_url') ? $this->data->archive_url : null; }
function __construct($data) { if (!self::git_installed()) throw new SparkException('You have to have git to install this spark.'); parent::__construct($data); $this->tag = $this->version; }
function __construct($data) { parent::__construct($data); $this->tag = $this->version; }