class AddPreset extends Command

Artisan Command: Add Preset.

Adds or modifies color presets for UI components. Can modify published views or the vendor package directly (with force option).

Properties

protected string $signature

The name and signature of the console command.

protected string $description

The console command description.

Methods

int
handle()

Execute the console command.

string
prettyPrintPresetArray(array $array, int $indent = 0)

Pretty print para arrays tipo: [ 'default_color' => 'beartropy', 'colors' => [ 'beartropy' => [ ... ], ... ] ]

Details

at line 48
int handle()

Execute the console command.

Return Value

int

Command exit code.

at line 165
protected string prettyPrintPresetArray(array $array, int $indent = 0)

Pretty print para arrays tipo: [ 'default_color' => 'beartropy', 'colors' => [ 'beartropy' => [ ... ], ... ] ]

Parameters

array $array

Array to print.

int $indent

Indentation level.

Return Value

string