ColorManager
class ColorManager (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $colors | ||
protected array<string,int[]> | $overridingShades | ||
protected array<string,int[]> | $addedShades | ||
protected array<string,int[]> | $removedShades |
Methods
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
from
EvaluatesClosures
mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
from
EvaluatesClosures
array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
from
EvaluatesClosures
array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
from
EvaluatesClosures
string|null
from
EvaluatesClosures
register(array|Closure $colors)
No description
array|string
processColor(array|string $color)
No description
array
getColors()
No description
void
overrideShades(string $alias, array $shades)
No description
array|null
getOverridingShades(string $alias)
No description
void
addShades(string $alias, array $shades)
No description
array|null
getAddedShades(string $alias)
No description
void
removeShades(string $alias, array $shades)
No description
array|null
getRemovedShades(string $alias)
No description
Details
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
ColorManager
register(array|Closure $colors)
No description
array|string
processColor(array|string $color)
No description
array
getColors()
No description
void
overrideShades(string $alias, array $shades)
No description
array|null
getOverridingShades(string $alias)
No description
void
addShades(string $alias, array $shades)
No description
array|null
getAddedShades(string $alias)
No description
void
removeShades(string $alias, array $shades)
No description
array|null
getRemovedShades(string $alias)
No description