Values
class Values extends Summarizer (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | ||
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Summarizer | |
protected Column | $column | from BelongsToColumn | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected Closure|null | $formatStateUsing | from CanFormatState | |
protected string|Closure|null | $placeholder | from CanFormatState | |
protected Htmlable|Closure|null | $prefix | from CanFormatState | |
protected Htmlable|Closure|null | $suffix | from CanFormatState | |
protected bool|Closure | $isHtml | from CanFormatState | |
protected bool|Closure | $isMarkdown | from CanFormatState | |
protected string|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected Closure|null | $modifyQueryUsing | from InteractsWithTableQuery | |
protected Builder|null | $query | from InteractsWithTableQuery | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected string|null | $id | from Summarizer | |
protected array<string,mixed> | $selectedState | from Summarizer | |
protected Closure|null | $using | from Summarizer | |
protected bool|Closure | $isBulleted |
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
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
BelongsToColumn
column(Column $column)
No description
Column
getColumn()
No description
Table
getTable()
No description
HasTable
getLivewire()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isVisible()
No description
CanFormatState
formatStateUsing(Closure|null $callback)
No description
CanFormatState
limit(int $length = 100, string|null $end = '...')
No description
CanFormatState
money(string|Closure|null $currency = null, int $divideBy = 0, string|Closure|null $locale = null)
No description
CanFormatState
numeric(int|Closure|null $decimalPlaces = null, ArgumentValue $decimalSeparator = ArgumentValue::Default, ArgumentValue $thousandsSeparator = ArgumentValue::Default, int|Closure|null $maxDecimalPlaces = null, string|Closure|null $locale = null)
No description
CanFormatState
placeholder(string|Closure|null $placeholder)
No description
CanFormatState
markdown(bool|Closure $condition = true)
No description
CanFormatState
prefix(Htmlable|Closure|null $prefix)
No description
CanFormatState
suffix(Htmlable|Closure|null $suffix)
No description
CanFormatState
html(bool|Closure $condition = true)
No description
mixed
formatState(mixed $state)
No description
bool
isHtml()
No description
Htmlable|null
getPrefix()
No description
Htmlable|null
getSuffix()
No description
bool
isMarkdown()
No description
HasLabel
label(string|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
string|null
getLabel()
No description
string|null
getDefaultLabel()
No description
InteractsWithTableQuery
query(Builder|Closure|null $query)
No description
Builder|null
getQuery()
No description
bool
hasQueryModification()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
final
__construct(string|null $id = null)
No description
static Summarizer
make(string|null $id = null)
No description
Summarizer
id(string|null $id)
No description
Summarizer
using(Closure|null $using)
No description
Summarizer
selectedState(array $state)
No description
mixed
getState()
No description
mixed
getSelectedState()
No description
mixed
summarize(Builder $query, string $attribute)
No description
array
getSelectStatements(string $column)
No description
string|null
getId()
No description
Values
bulleted(bool|Closure $condition = true)
No description
bool
isBulleted()
No description