PHP Class Laravel\SparkInstaller\Installation\DownloadSpark

Inheritance: use trait Laravel\SparkInstaller\InteractsWithSparkAPI, use trait Laravel\SparkInstaller\InteractsWithSparkConfiguration
Afficher le fichier Open project: laravel/spark-installer

Protected Properties

Свойство Type Description
$command

Méthodes publiques

Méthode Description
__construct ( NewCommand $command ) : void Create a new installation helper instance.
install ( ) : void Run the installation helper.

Méthodes protégées

Méthode Description
downloadZip ( ) : void Download the latest Spark release.
extractZip ( string $zipPath ) : void Extract the Spark Zip archive.
invalidLicense ( $release ) : void Inform the user that their registered Spark token is invalid.
sparkPath ( ) : string Get the release directory.
zipResponse ( ) : string Get the raw Zip response for a Spark download.

Method Details

__construct() public méthode

Create a new installation helper instance.
public __construct ( NewCommand $command ) : void
$command Laravel\SparkInstaller\NewCommand
Résultat void

downloadZip() protected méthode

Download the latest Spark release.
protected downloadZip ( ) : void
Résultat void

extractZip() protected méthode

Extract the Spark Zip archive.
protected extractZip ( string $zipPath ) : void
$zipPath string
Résultat void

install() public méthode

Run the installation helper.
public install ( ) : void
Résultat void

invalidLicense() protected méthode

Inform the user that their registered Spark token is invalid.
protected invalidLicense ( $release ) : void
Résultat void

sparkPath() protected méthode

Get the release directory.
protected sparkPath ( ) : string
Résultat string

zipResponse() protected méthode

Get the raw Zip response for a Spark download.
protected zipResponse ( ) : string
Résultat string

Property Details

$command protected_oe property

protected $command