Component
class Component extends ViewComponent (View source)
Traits
Properties
protected string | $evaluationIdentifier | ||
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 | ||
protected Component|null | $layout | from BelongsToLayout | |
protected Table|null | $table | from BelongsToTable | |
$hiddenFrom | from CanBeHiddenResponsively | ||
protected string|Closure|null | $visibleFrom | from CanBeHiddenResponsively | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected Model|null | $record | from HasRecord | |
protected stdClass|null | $loop | from HasRowLoopObject | |
protected array|Closure | $components | ||
protected bool | $isCollapsible | ||
protected bool|Closure | $isCollapsed |
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
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
BelongsToLayout
layout(Component|null $layout)
No description
Component|null
getLayout()
No description
BelongsToTable
table(Table|null $table)
No description
Table
getTable()
No description
HasTable
getLivewire()
No description
CanBeHiddenResponsively
hiddenFrom(string|Closure|null $breakpoint)
No description
CanBeHiddenResponsively
visibleFrom(string|Closure|null $breakpoint)
No description
string|null
getHiddenFrom()
No description
string|null
getVisibleFrom()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenOn(string|array $livewireComponents)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
visibleOn(string|array $livewireComponents)
No description
bool
isHidden()
No description
bool
isVisible()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
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
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
HasRecord
record(Model $record)
No description
Model|null
getRecord()
No description
HasRowLoopObject
rowLoop(stdClass|null $loop)
No description
stdClass|null
getRowLoop()
No description
Component
schema(array|Closure $schema)
No description
Component
components(array|Closure $components)
No description
Component
collapsible(bool $condition = true)
No description
Component
collapsed(bool|Closure $condition = true)
No description
bool
isCollapsed()
No description
array
getColumns()
No description
array
getComponents()
No description
bool
isCollapsible()
No description