trait HasColors (View source)

Properties

protected Arrayable|Closure|null $colors

Methods

colors(Arrayable|Closure|null $colors)

No description

string|array|null
getColor(mixed $value)

No description

array
getColors()

No description

Details

HasColors colors(Arrayable|Closure|null $colors)

No description

Parameters

Arrayable|Closure|null $colors

Return Value

HasColors

string|array|null getColor(mixed $value)

No description

Parameters

mixed $value

Return Value

string|array|null

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | null

array getColors()

No description

Return Value

array