class Tab extends Tab (View source)

deprecated Use `\Filament\Resources\Components\Tab` instead.

Traits

Properties

protected string $evaluationIdentifier from  EvaluatesClosures
static protected Closure>> $macros from  Macroable
protected string|int|float|Closure|null $badge from  HasBadge
protected string $badgeColor from  HasBadge
protected string|Closure|null $badgeIcon from  HasBadge
protected IconPosition|string|Closure|null $badgeIconPosition from  HasBadge
protected array $extraAttributes from  HasExtraAttributes
protected Htmlable|Closure|null $icon from  HasIcon
protected IconPosition|string|Closure|null $iconPosition from  HasIcon
protected IconSize|string|Closure|null $iconSize from  HasIcon
protected string|Closure|null $label from  Tab
protected Closure|null $modifyQueryUsing from  Tab

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

badge(string|int|float|Closure|null $badge = null)

No description

from  HasBadge
indicator(string|int|float|Closure|null $indicator) deprecated

No description

from  HasBadge
badgeColor(string|array|Closure|null $color)

No description

from  HasBadge
badgeIcon(string|Closure|null $icon)

No description

from  HasBadge
badgeIconPosition(IconPosition|string|Closure|null $position)

No description

from  HasBadge
indicatorColor(string|array|Closure|null $color) deprecated

No description

from  HasBadge
string|int|float|null
getBadge()

No description

from  HasBadge
string|array|null
getBadgeColor()

No description

from  HasBadge
string|null
getBadgeIcon()

No description

from  HasBadge
IconPosition|string
getBadgeIconPosition()

No description

from  HasBadge
extraAttributes(array|Closure $attributes, bool $merge = false)

No description

array
getExtraAttributes()

No description

ComponentAttributeBag
getExtraAttributeBag()

No description

icon(Htmlable|Closure|null $icon)

No description

from  HasIcon
iconPosition(IconPosition|string|Closure|null $position)

No description

from  HasIcon
iconSize(IconSize|string|Closure|null $size)

No description

from  HasIcon
Htmlable|null
getIcon()

No description

from  HasIcon
IconPosition|string
getIconPosition()

No description

from  HasIcon
IconSize|string|null
getIconSize()

No description

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

No description

from  Tab
static Tab
make(string|Closure|null $label = null)

No description

from  Tab
Tab
label(string|Closure|null $label)

No description

from  Tab
Tab
query(Closure|null $callback)

No description

from  Tab
Tab
modifyQueryUsing(Closure|null $callback)

No description

from  Tab
string|null
getLabel()

No description

from  Tab
Builder
modifyQuery(Builder $query)

No description

from  Tab

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

HasBadge badge(string|int|float|Closure|null $badge = null)

No description

Parameters

string|int|float|Closure|null $badge

Return Value

HasBadge

HasBadge indicator(string|int|float|Closure|null $indicator) deprecated

deprecated Use `badge()` instead.

No description

Parameters

string|int|float|Closure|null $indicator

Return Value

HasBadge

HasBadge badgeColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasBadge

HasBadge badgeIcon(string|Closure|null $icon)

No description

Parameters

string|Closure|null $icon

Return Value

HasBadge

HasBadge badgeIconPosition(IconPosition|string|Closure|null $position)

No description

Parameters

IconPosition|string|Closure|null $position

Return Value

HasBadge

HasBadge indicatorColor(string|array|Closure|null $color) deprecated

deprecated Use `badgeColor()` instead.

No description

Parameters

string|array|Closure|null $color

Return Value

HasBadge

string|int|float|null getBadge()

No description

Return Value

string|int|float|null

string|array|null getBadgeColor()

No description

Return Value

string|array|null

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | null

string|null getBadgeIcon()

No description

Return Value

string|null

IconPosition|string getBadgeIconPosition()

No description

Return Value

IconPosition|string

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

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraAttributes

array getExtraAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraAttributeBag()

No description

Return Value

ComponentAttributeBag

HasIcon icon(Htmlable|Closure|null $icon)

No description

Parameters

Htmlable|Closure|null $icon

Return Value

HasIcon

HasIcon iconPosition(IconPosition|string|Closure|null $position)

No description

Parameters

IconPosition|string|Closure|null $position

Return Value

HasIcon

HasIcon iconSize(IconSize|string|Closure|null $size)

No description

Parameters

IconSize|string|Closure|null $size

Return Value

HasIcon

Htmlable|null getIcon()

No description

Return Value

Htmlable|null

IconPosition|string getIconPosition()

No description

Return Value

IconPosition|string

IconSize|string|null getIconSize()

No description

Return Value

IconSize|string|null

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

No description

Parameters

string|Closure|null $label

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

No description

Parameters

string|Closure|null $label

Return Value

Tab

Tab label(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

Tab

Tab query(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Tab

Tab modifyQueryUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Tab

string|null getLabel()

No description

Return Value

string|null

Builder modifyQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder