MixCreate

 class System\Console\Asset\Mix\MixCreate
extends System\Console\Asset\AssetCreate
implements 
    Symfony\Component\Console\Command\SignalableCommandInterface

Extends

Class Description
AssetCreate

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.

Constants

Constant Description
TYPE_PLUGIN
string "plugin"
TYPE_THEME
string "theme"

Properties

protected $assetType : string

The type of compilable to configure

protected $configFile : string

The name of the config file

protected static $defaultName : string | null

The default command name for lazy loading.

protected $replaces : array

List of commands that this command replaces (aliases)

protected $signature : string

The name and signature of this command.

inherited protected $description : string

Inherited from AssetCreate

The console command description.

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

Inherited from AssetCreate

inherited private $fixturePath : string

Inherited from AssetCreate

Local cache of fixture path

Methods

inherited public __construct ()

Inherited from AssetCreate

Dynamically generate options for all available bundles

Returns
mixed

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

Inherited from AssetCreate

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 AssetCreate

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 AssetCreate

Write a string as error output.

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

inherited public getSubscribedSignals () : array

Inherited from AssetCreate

Returns the process signals this command listens to

Returns
array

inherited public handle () : integer

Inherited from AssetCreate

Execute the console command.

Returns
integer

inherited public handleSignal (integer $signal) : void

Inherited from AssetCreate

Handle the provided Unix process signal

Parameters
Property Description
$signal
integer
Returns
void

inherited public handleWindowsSignal (integer $event) : void

Inherited from AssetCreate

Handle the provided Windows process singal.

Parameters
Property Description
$event
integer
Returns
void

inherited protected afterExecution () : void

Inherited from AssetCreate

Ran after configuration is complete, use for tearing down / reporting

Returns
void

inherited protected getFixture (string $path) : string

Inherited from AssetCreate

Helper method for loading fixtures from the default library

Parameters
Property Description
$path
string
Returns
string

inherited protected getPackagePathType (string $package) : array

Inherited from AssetCreate

Resolve the path and type of the package by name

Parameters
Property Description
$package
string
Returns
array

inherited protected installConfigs (System\Classes\Asset\PackageJson $packageJson, string $packageName, string $packageType, string $packagePath) : void

Inherited from AssetCreate

Write out config files based on assetType and the requested options

Parameters
Property Description
$packageJson
System\Classes\Asset\PackageJson
$packageName
string
$packageType
string
$packagePath
string
Returns
void

inherited protected makePackageName (string $package) : string

Inherited from AssetCreate

Converts the user supplied package name into a consistent internal format

Parameters
Property Description
$package
string
Returns
string

inherited protected writeFile (string $path, string $content) : integer

Inherited from AssetCreate

Write a file but ask for conformation before overwriting

Parameters
Property Description
$path
string
$content
string
Returns
integer
Copyright © 2024 Winter CMS