class NavigationGroup extends Component (View source)

Traits

Properties

protected string $evaluationIdentifier from  EvaluatesClosures
static protected Closure>> $macros from  Macroable
protected array $extraSidebarAttributes from  HasExtraSidebarAttributes
protected array $extraTopbarAttributes from  HasExtraTopbarAttributes
protected bool|Closure $isCollapsed
protected bool|Closure|null $isCollapsible
protected string|Closure|null $icon
protected NavigationItem[] $items
protected string|Closure|null $label

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

extraSidebarAttributes(array|Closure $attributes, bool $merge = false)

No description

ComponentAttributeBag
getExtraSidebarAttributeBag()

No description

extraTopbarAttributes(array|Closure $attributes, bool $merge = false)

No description

ComponentAttributeBag
getExtraTopbarAttributeBag()

No description

__construct(string|Closure|null $label = null)

No description

static NavigationGroup
make(string|Closure|null $label = null)

No description

collapsed(bool|Closure $condition = true)

No description

collapsible(bool|Closure|null $condition = true)

No description

icon(string|Closure|null $icon)

No description

items(Arrayable $items)

No description

label(string|Closure|null $label)

No description

string|null
getIcon()

No description

Arrayable
getItems()

No description

string|null
getLabel()

No description

bool
isCollapsed()

No description

bool
isCollapsible()

No description

bool
isActive()

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

HasExtraSidebarAttributes extraSidebarAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraSidebarAttributes

array getExtraSidebarAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraSidebarAttributeBag()

No description

Return Value

ComponentAttributeBag

HasExtraTopbarAttributes extraTopbarAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraTopbarAttributes

array getExtraTopbarAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraTopbarAttributeBag()

No description

Return Value

ComponentAttributeBag

final __construct(string|Closure|null $label = null)

No description

Parameters

string|Closure|null $label

static NavigationGroup make(string|Closure|null $label = null)

No description

Parameters

string|Closure|null $label

Return Value

NavigationGroup

NavigationGroup collapsed(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

NavigationGroup

NavigationGroup collapsible(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

NavigationGroup

NavigationGroup icon(string|Closure|null $icon)

No description

Parameters

string|Closure|null $icon

Return Value

NavigationGroup

NavigationGroup items(Arrayable $items)

No description

Parameters

Arrayable $items

Return Value

NavigationGroup

NavigationGroup label(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

NavigationGroup

string|null getIcon()

No description

Return Value

string|null

Arrayable getItems()

No description

Return Value

Arrayable

| Arrayable

string|null getLabel()

No description

Return Value

string|null

bool isCollapsed()

No description

Return Value

bool

bool isCollapsible()

No description

Return Value

bool

bool isActive()

No description

Return Value

bool