MixUpdate

 class System\Console\MixUpdate
extends System\Console\MixInstall
implements 
    Symfony\Component\Console\Command\SignalableCommandInterface

Traits

Trait Description
HandlesCleanup

Console Command Trait that injects cross-platform signal handling to trigger cleanup on exit through the handleCleanup() method on the implementing class.

ProvidesAutocompletion

Console Command Trait that injects cross-platform signal handling to trigger cleanup on exit through the handleCleanup() method on the implementing class.

Properties

protected static $defaultName : string | null

The default command name for lazy loading.

protected $description : mixed

The console command description.

protected $npmCommand : mixed

The NPM command to run.

protected $signature : mixed

The name and signature of this command.

protected $terms : mixed

protected $defaultMixVersion : string

Inherited from MixInstall

Default version of Laravel Mix to install

protected $npmPath : string

Inherited from MixInstall

The path to the "npm" executable.

protected $replaces : array

Inherited from MixInstall

List of commands that this command replaces (aliases)

Methods

public __construct ()

Inherited from MixInstall

Create a new command instance.

Returns
mixed

public alert (string $string, int | string | null $verbosity = null) : void

Inherited from MixInstall

Write a string in an alert box.

Parameters
Property Description
$string
string
$verbosity
int | string | null
Returns
void

public complete (Symfony\Component\Console\Completion\CompletionInput $input, Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void

Inherited from MixInstall

Provide autocompletion for this command's input

Parameters
Property Description
$input
Symfony\Component\Console\Completion\CompletionInput
$suggestions
Symfony\Component\Console\Completion\CompletionSuggestions
Returns
void

public error (string $string, int | string | null $verbosity = null) : void

Inherited from MixInstall

Write a string as error output.

Parameters
Property Description
$string
string
$verbosity
int | string | null
Returns
void

public getSubscribedSignals () : array

Inherited from MixInstall

Returns the process signals this command listens to

Returns
array

public handle () : integer

Inherited from MixInstall

Execute the console command.

Returns
integer

public handleSignal (integer $signal) : integer | false

Inherited from MixInstall

Handle the provided Unix process signal

Parameters
Property Description
$signal
integer
Returns
integer | false

public handleWindowsSignal (integer $event) : void

Inherited from MixInstall

Handle the provided Windows process singal.

Parameters
Property Description
$event
integer
Returns
void

protected getNpmVersion () : string

Inherited from MixInstall

Gets the install NPM version.

Returns
string

protected installPackageDeps () : int

Inherited from MixInstall

Installs the dependencies for the given package.

Returns
int

protected writePackageJson (string $path, array $data) : void

Inherited from MixInstall

Write to the package.json file

Parameters
Property Description
$path
string
$data
array
Returns
void
Copyright © 2024 Winter CMS