PHP Класс Laravel\SparkInstaller\Installation\DownloadSpark

Наследование: use trait Laravel\SparkInstaller\InteractsWithSparkAPI, use trait Laravel\SparkInstaller\InteractsWithSparkConfiguration
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$command

Открытые методы

Метод Описание
__construct ( NewCommand $command ) : void Create a new installation helper instance.
install ( ) : void Run the installation helper.

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный метод

Create a new installation helper instance.
public __construct ( NewCommand $command ) : void
$command Laravel\SparkInstaller\NewCommand
Результат void

downloadZip() защищенный метод

Download the latest Spark release.
protected downloadZip ( ) : void
Результат void

extractZip() защищенный метод

Extract the Spark Zip archive.
protected extractZip ( string $zipPath ) : void
$zipPath string
Результат void

install() публичный метод

Run the installation helper.
public install ( ) : void
Результат void

invalidLicense() защищенный метод

Inform the user that their registered Spark token is invalid.
protected invalidLicense ( $release ) : void
Результат void

sparkPath() защищенный метод

Get the release directory.
protected sparkPath ( ) : string
Результат string

zipResponse() защищенный метод

Get the raw Zip response for a Spark download.
protected zipResponse ( ) : string
Результат string

Описание свойств

$command защищенное свойство

protected $command