Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 function __construct($data) {
     parent::__construct($data);
     $this->tag = $this->version;
 }