UserMenuItem deprecated
class UserMenuItem extends MenuItem (View source)
deprecated
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $color | from MenuItem | |
protected string|Closure|null | $icon | from MenuItem | |
protected string|Closure|null | $label | from MenuItem | |
protected string|Closure|null | $postAction | from MenuItem | |
protected int|Closure|null | $sort | from MenuItem | |
protected Native|null | $url | from MenuItem | |
protected bool|Closure | $shouldOpenUrlInNewTab | from MenuItem | |
protected bool|Closure | $isHidden | from MenuItem | |
protected bool|Closure | $isVisible | from MenuItem |
Methods
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
from
Configurable
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
from
EvaluatesClosures
mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
from
EvaluatesClosures
array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
from
EvaluatesClosures
array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
from
EvaluatesClosures
string|null
from
EvaluatesClosures
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
final
__construct()
No description
static MenuItem
make()
No description
MenuItem
color(string|array|Closure|null $color)
No description
MenuItem
icon(string|Closure|null $icon)
No description
MenuItem
label(string|Closure|null $label)
No description
MenuItem
postAction(string|Closure|null $action)
No description
MenuItem
sort(int|Closure|null $sort)
No description
MenuItem
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
MenuItem
openUrlInNewTab(bool|Closure $condition = true)
No description
MenuItem
hidden(bool|Closure $condition = true)
No description
MenuItem
visible(bool|Closure $condition = true)
No description
bool
isVisible()
No description
bool
isHidden()
No description
string|array|null
getColor()
No description
string|null
getIcon()
No description
string|null
getLabel()
No description
string|null
getPostAction()
No description
int
getSort()
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description