class Install extends Command (View source)

Properties

protected $signature
protected $description

Methods

int
handle()

No description

void
step(string $name, Closure $task = null, bool $unless = false, string $warning = null, string $file = null, string $tag = null, array $files = null, bool $newLineBefore = false, bool $newLineAfter = false)

Run a step of the installation process.

void
askForSupport()

If the user accepts, opens the GitHub project in the browser.

Details

int handle()

No description

Return Value

int

protected void step(string $name, Closure $task = null, bool $unless = false, string $warning = null, string $file = null, string $tag = null, array $files = null, bool $newLineBefore = false, bool $newLineAfter = false)

Run a step of the installation process.

Parameters

string $name

The name of the step.

Closure $task

The task code.

bool $unless

Condition specifying when the task should NOT run.

string $warning

Warning shown when the $unless condition is true.

string $file

Name of the file being added.

string $tag

The tag being published.

array $files

Names of files being added.

bool $newLineBefore

Should a new line be printed after the step.

bool $newLineAfter

Should a new line be printed after the step.

Return Value

void

void askForSupport()

If the user accepts, opens the GitHub project in the browser.

Return Value

void