NavigationGroup
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
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
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
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 protected callable|null
getMacro(string $method)
No description
HasExtraSidebarAttributes
extraSidebarAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraSidebarAttributes()
No description
ComponentAttributeBag
getExtraSidebarAttributeBag()
No description
HasExtraTopbarAttributes
extraTopbarAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraTopbarAttributes()
No description
ComponentAttributeBag
getExtraTopbarAttributeBag()
No description
final
__construct(string|Closure|null $label = null)
No description
static NavigationGroup
make(string|Closure|null $label = null)
No description
NavigationGroup
collapsed(bool|Closure $condition = true)
No description
NavigationGroup
collapsible(bool|Closure|null $condition = true)
No description
NavigationGroup
icon(string|Closure|null $icon)
No description
NavigationGroup
items(Arrayable $items)
No description
NavigationGroup
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