class RelationGroup extends Component (View source)

Traits

Properties

protected string $evaluationIdentifier from  EvaluatesClosures
static protected Closure>> $macros from  Macroable
protected Htmlable|Closure|null $icon from  HasIcon
protected IconPosition|string|Closure|null $iconPosition from  HasIcon
protected IconSize|string|Closure|null $iconSize from  HasIcon
protected string|Closure|null $badge
protected string|Closure|null $badgeColor
protected string|Closure|null $badgeTooltip
protected Model|null $ownerRecord
protected string|null $pageClass

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

icon(Htmlable|Closure|null $icon)

No description

from  HasIcon
iconPosition(IconPosition|string|Closure|null $position)

No description

from  HasIcon
iconSize(IconSize|string|Closure|null $size)

No description

from  HasIcon
Htmlable|null
getIcon()

No description

from  HasIcon
IconPosition|string
getIconPosition()

No description

from  HasIcon
IconSize|string|null
getIconSize()

No description

from  HasIcon
__construct(string|Closure $label, array|Closure $managers)

No description

static RelationGroup
make(string|Closure $label, array|Closure $managers)

No description

ownerRecord(Model|null $record)

No description

pageClass(string|null $class)

No description

badge(string|Closure|null $badge)

No description

badgeColor(string|Closure|null $color)

No description

badgeTooltip(string|Closure|null $tooltip)

No description

string
getLabel()

No description

array
getManagers()

No description

string
normalizeRelationManagerClass(RelationManagerConfiguration $manager)

No description

string|null
getBadge()

No description

string|null
getBadgeColor()

No description

string|null
getBadgeTooltip()

No description

Model|null
getOwnerRecord()

No description

string|null
getPageClass()

No description

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

HasIcon icon(Htmlable|Closure|null $icon)

No description

Parameters

Htmlable|Closure|null $icon

Return Value

HasIcon

HasIcon iconPosition(IconPosition|string|Closure|null $position)

No description

Parameters

IconPosition|string|Closure|null $position

Return Value

HasIcon

HasIcon iconSize(IconSize|string|Closure|null $size)

No description

Parameters

IconSize|string|Closure|null $size

Return Value

HasIcon

Htmlable|null getIcon()

No description

Return Value

Htmlable|null

IconPosition|string getIconPosition()

No description

Return Value

IconPosition|string

IconSize|string|null getIconSize()

No description

Return Value

IconSize|string|null

__construct(string|Closure $label, array|Closure $managers)

No description

Parameters

string|Closure $label
array|Closure $managers

static RelationGroup make(string|Closure $label, array|Closure $managers)

No description

Parameters

string|Closure $label
array|Closure $managers

Return Value

RelationGroup

RelationGroup ownerRecord(Model|null $record)

No description

Parameters

Model|null $record

Return Value

RelationGroup

RelationGroup pageClass(string|null $class)

No description

Parameters

string|null $class

Return Value

RelationGroup

RelationGroup badge(string|Closure|null $badge)

No description

Parameters

string|Closure|null $badge

Return Value

RelationGroup

RelationGroup badgeColor(string|Closure|null $color)

No description

Parameters

string|Closure|null $color

Return Value

RelationGroup

RelationGroup badgeTooltip(string|Closure|null $tooltip)

No description

Parameters

string|Closure|null $tooltip

Return Value

RelationGroup

string getLabel()

No description

Return Value

string

array getManagers()

No description

Return Value

array

protected string normalizeRelationManagerClass(RelationManagerConfiguration $manager)

No description

Parameters

RelationManagerConfiguration $manager

Return Value

string

string|null getBadge()

No description

Return Value

string|null

string|null getBadgeColor()

No description

Return Value

string|null

string|null getBadgeTooltip()

No description

Return Value

string|null

Model|null getOwnerRecord()

No description

Return Value

Model|null

string|null getPageClass()

No description

Return Value

string|null