ViewEntry
class ViewEntry extends Entry (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | from ViewComponent | |
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Entry | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected ComponentContainer | $container | from BelongsToContainer | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected Action[] | $cachedActions | from HasActions | |
protected array | $actions | from HasActions | |
protected Action|null | $action | from HasActions | |
protected Component[] | $childComponents | from HasChildComponents | |
protected string|Closure|null | $entryWrapperView | from HasEntryWrapper | |
protected string|Closure|null | $id | from HasId | |
protected bool|Closure|null | $hasInlineLabel | from HasInlineLabel | |
protected string|Closure|null | $key | from HasKey | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected MaxWidth|string|Closure|null | $maxWidth | from HasMaxWidth | |
protected array<string,mixed> | $meta | from HasMeta | |
protected mixed | $defaultState | from HasState | |
protected mixed | $getStateUsing | from HasState | |
protected string|null | $statePath | from HasState | |
protected string|Closure|null | $separator | from HasState | |
protected bool|Closure | $isDistinctList | from HasState | |
protected string | $cachedAbsoluteStatePath | from HasState | |
protected array|null | $columns | from HasColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected array | $extraEntryWrapperAttributes | from HasExtraEntryWrapperAttributes | |
protected Htmlable|Closure|null | $helperText | from HasHelperText | |
protected Htmlable|Closure|null | $hint | from HasHint | |
protected Action[] | $cachedHintActions | from HasHint | |
protected array | $hintActions | from HasHint | |
protected string | $hintColor | from HasHint | |
protected string|Closure|null | $hintIcon | from HasHint | |
protected string|Closure|null | $hintIconTooltip | from HasHint | |
protected string | $name | from HasName | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected Alignment|string|Closure|null | $alignment | from HasAlignment | |
protected Htmlable|Closure|null | $placeholder | from HasPlaceholder |
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
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
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
No description
BelongsToContainer
container(ComponentContainer $container)
No description
ComponentContainer
getContainer()
No description
Infolist
getInfolist()
No description
Component|null
getLivewire()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isVisible()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
array|int|string|null
getColumnStart(int|string|null $breakpoint = null)
No description
Cloneable
getClone()
No description
HasActions
action(Action|null $action)
No description
HasActions
registerActions(array $actions)
No description
Action|null
getAction(string|array|null $name = null)
No description
array
getActions()
No description
array
cacheActions()
No description
HasChildComponents
childComponents(array|Closure $components)
No description
HasChildComponents
schema(array|Closure $components)
No description
array
getChildComponents()
No description
ComponentContainer
getChildComponentContainer(array-key $key = null)
No description
array
getChildComponentContainers(bool $withHidden = false)
No description
bool
hasChildComponentContainer(bool $withHidden = false)
No description
HasEntryWrapper
entryWrapperView(string|Closure|null $view)
No description
string
getEntryWrapperView()
No description
string|null
getCustomEntryWrapperView()
No description
in
HasId at line 11
HasId
id(string|Closure|null $id)
No description
in
HasId at line 18
string|null
getId()
No description
HasInlineLabel
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
in
HasKey at line 11
HasKey
key(string|Closure|null $key)
No description
in
HasKey at line 18
string|null
getKey()
No description
HasLabel
hiddenLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
HasMaxWidth
maxWidth(MaxWidth|string|Closure|null $width)
No description
MaxWidth|string|null
getMaxWidth()
No description
HasMeta
meta(string $key, mixed $value)
No description
mixed
getMeta(string|array|null $keys = null)
No description
bool
hasMeta(string|array $keys)
No description
bool
hasRelationship(Model $record)
No description
Relation|null
getRelationship(Model $record, string|null $statePath = null)
No description
array
getRelationshipResults(Model $record, array|null $relationships = null)
No description
string
getRelationshipAttribute(string|null $statePath = null)
No description
string|null
getRelationshipName(string|null $statePath = null)
No description
HasState
getStateUsing(mixed $callback)
No description
HasState
state(mixed $state)
No description
HasState
default(mixed $state)
No description
HasState
distinctList(bool|Closure $condition = true)
No description
bool
isDistinctList()
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
HasState
separator(string|Closure|null $separator = ',')
No description
HasState
statePath(string|null $path)
No description
string|null
getSeparator()
No description
Model|null
getRecord()
No description
bool
hasStatePath()
No description
string
getStatePath(bool $isAbsolute = true)
No description
mixed
getStateFromRecord(Model $record)
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasColumns
columns(array|int|null $columns = 2)
No description
array|int|null
getColumns(string|null $breakpoint = null)
No description
array
getColumnsConfig()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
CanOpenUrl
openUrlInNewTab(bool|Closure $condition = true)
No description
CanOpenUrl
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description
HasExtraEntryWrapperAttributes
extraEntryWrapperAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraEntryWrapperAttributes()
No description
ComponentAttributeBag
getExtraEntryWrapperAttributesBag()
No description
HasHelperText
helperText(Htmlable|Closure|null $text)
No description
Htmlable|null
getHelperText()
No description
HasHint
hint(Htmlable|Closure|null $hint)
No description
HasHint
hintColor(string|array|Closure|null $color)
No description
HasHint
hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)
No description
HasHint
hintIconTooltip(string|Closure|null $tooltip)
No description
HasHint
hintAction(Action|Closure $action)
No description
HasHint
hintActions(array $actions)
No description
Htmlable|null
getHint()
No description
string|array|null
getHintColor()
No description
string|null
getHintIcon()
No description
string|null
getHintIconTooltip()
No description
array
getHintActions()
No description
array
cacheHintActions()
No description
string
getName()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
HasAlignment
alignment(Alignment|string|Closure|null $alignment)
No description
HasAlignment
alignStart(bool|Closure $condition = true)
No description
HasAlignment
alignCenter(bool|Closure $condition = true)
No description
HasAlignment
alignEnd(bool|Closure $condition = true)
No description
HasAlignment
alignJustify(bool|Closure $condition = true)
No description
HasAlignment
alignBetween(bool|Closure $condition = true)
No description
HasAlignment
alignLeft(bool|Closure $condition = true)
No description
HasAlignment
alignRight(bool|Closure $condition = true)
No description
Alignment|string|null
getAlignment()
No description
HasPlaceholder
placeholder(Htmlable|Closure|null $placeholder)
No description
Htmlable|null
getPlaceholder()
No description
in
Entry at line 23
final
__construct(string $name)
No description
in
Entry at line 29
static Entry
make(string $name)
No description