MixInstall

 class System\Console\Asset\Mix\MixInstall
extends System\Console\Asset\AssetInstall
implements 
    Symfony\Component\Console\Command\SignalableCommandInterface

Extends

Class Description
AssetInstall

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 $assetType : string

The asset compiler being used

protected $configFile : string

The asset config file

protected static $defaultName : string | null

The default command name for lazy loading.

protected $description : string

The console command description.

protected $requiredPackages : array

The required packages for this compiler

protected $signature : string

The name and signature of this command.

inherited protected $laravel : Winter\Storm\Foundation\Application

Inherited from AssetInstall

inherited protected $npmCommand : string

Inherited from AssetInstall

The NPM command to run.

inherited protected $npmPath : string

Inherited from AssetInstall

The path to the "npm" executable.

inherited protected $replaces : array

Inherited from AssetInstall

List of commands that this command replaces (aliases)

inherited protected $terms : array

Inherited from AssetInstall

Terms used in messages.

Methods

inherited public __construct ()

Inherited from AssetInstall

Create a new command instance.

Returns
mixed

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

Inherited from AssetInstall

Write a string in an alert box.

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

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

Inherited from AssetInstall

Provide autocompletion for this command's input

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

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

Inherited from AssetInstall

Write a string as error output.

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

inherited public getSubscribedSignals () : array

Inherited from AssetInstall

Returns the process signals this command listens to

Returns
array

inherited public handle () : integer

Inherited from AssetInstall

Execute the console command.

Returns
integer

inherited public handleSignal (integer $signal) : void

Inherited from AssetInstall

Handle the provided Unix process signal

Parameters
Property Description
$signal
integer
Returns
void

inherited public handleWindowsSignal (integer $event) : void

Inherited from AssetInstall

Handle the provided Windows process singal.

Parameters
Property Description
$event
integer
Returns
void

inherited protected getNpmVersion () : string

Inherited from AssetInstall

Gets the installed NPM version.

Returns
string

inherited protected getRequestedAndRegisteredPackages () : array

Inherited from AssetInstall
Returns
array

inherited protected installPackageDeps () : integer

Inherited from AssetInstall

Installs the dependencies for the given package.

Returns
integer

inherited protected processPackages (array $registeredPackages, System\Classes\Asset\PackageJson $packageJson) : System\Classes\Asset\PackageJson

Inherited from AssetInstall
Parameters
Property Description
$registeredPackages
array
$packageJson
System\Classes\Asset\PackageJson
Returns
System\Classes\Asset\PackageJson

inherited protected validateRequirePackagesPresent (System\Classes\Asset\PackageJson $packageJson) : System\Classes\Asset\PackageJson

Inherited from AssetInstall
Parameters
Property Description
$packageJson
System\Classes\Asset\PackageJson
Returns
System\Classes\Asset\PackageJson
Copyright © 2024 Winter CMS