class Indicator extends Component (View source)

Traits

Properties

protected string $evaluationIdentifier
static protected Closure>> $macros from  Macroable
protected string $color from  HasColor
protected string $defaultColor from  HasColor
protected bool|Closure $isRemovable
protected Htmlable|Closure $label
protected string|Closure|null $removeField
protected string|Closure|null $removeLivewireClickHandler

Methods

static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

configure()

No description

void
setUp()

No description

mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

string|null
static void
macro(string $name, callable $macro)

No description

static void
mixin(object $mixin, bool $replace = true)

No description

static void
flushMacros()

No description

static mixed
__callStatic(string $method, array $parameters)

No description

mixed
__call(string $method, array $parameters)

No description

static callable|null
getMacro(string $method)

No description

color(string|array|Closure|null $color)

No description

from  HasColor
defaultColor(string|array|Closure|null $color)

No description

from  HasColor
string|array|null
getColor()

No description

from  HasColor
__construct(Htmlable|Closure $label)

No description

static Indicator
make(Htmlable|Closure $label)

No description

label(Htmlable|Closure $label)

No description

Htmlable
getLabel()

No description

removable(bool|Closure $condition = true)

No description

bool
isRemovable()

No description

removeField(string|Closure|null $name)

No description

string|null
getRemoveField()

No description

removeLivewireClickHandler(string|Closure|null $handler)

No description

string|null

Details

static mixed configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

Parameters

Closure $modifyUsing
Closure|null $during
bool $isImportant

Return Value

mixed

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

mixed evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

Parameters

mixed $value
array $namedInjections
array $typedInjections

Return Value

mixed

protected mixed resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

Parameters

ReflectionParameter $parameter
array $namedInjections
array $typedInjections

Return Value

mixed

protected array resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

Parameters

string $parameterName

Return Value

array

protected array resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

Parameters

string $parameterType

Return Value

array

protected string|null getTypedReflectionParameterClassName(ReflectionParameter $parameter)

No description

Parameters

ReflectionParameter $parameter

Return Value

string|null

static void macro(string $name, callable $macro)

No description

Parameters

string $name
callable $macro

Return Value

void

static void mixin(object $mixin, bool $replace = true)

No description

Parameters

object $mixin
bool $replace

Return Value

void

static void flushMacros()

No description

Return Value

void

static mixed __callStatic(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

mixed __call(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

static protected callable|null getMacro(string $method)

No description

Parameters

string $method

Return Value

callable|null

HasColor color(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasColor

HasColor defaultColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasColor

string|array|null getColor()

No description

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

final __construct(Htmlable|Closure $label)

No description

Parameters

Htmlable|Closure $label

static Indicator make(Htmlable|Closure $label)

No description

Parameters

Htmlable|Closure $label

Return Value

Indicator

Indicator label(Htmlable|Closure $label)

No description

Parameters

Htmlable|Closure $label

Return Value

Indicator

Htmlable getLabel()

No description

Return Value

Htmlable

Indicator removable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Indicator

bool isRemovable()

No description

Return Value

bool

Indicator removeField(string|Closure|null $name)

No description

Parameters

string|Closure|null $name

Return Value

Indicator

string|null getRemoveField()

No description

Return Value

string|null

Indicator removeLivewireClickHandler(string|Closure|null $handler)

No description

Parameters

string|Closure|null $handler

Return Value

Indicator

string|null getRemoveLivewireClickHandler()

No description

Return Value

string|null