InvokableComponentVariable
class InvokableComponentVariable implements DeferringDisplayableValue, IteratorAggregate, Stringable
Methods
Htmlable|string
resolveDisplayableValue()
Resolve the displayable value that the class is deferring.
getIterator()
Get an iterator instance for the variable.
mixed
__get(string $key)
Dynamically proxy attribute access to the variable.
mixed
__call(string $method, array $parameters)
Dynamically proxy method access to the variable.
mixed
__invoke()
Resolve the variable.
string
__toString()
Resolve the variable as a string.
Details
at line 21
__construct(Closure $callable)
Create a new variable instance.
at line 29
Htmlable|string
resolveDisplayableValue()
Resolve the displayable value that the class is deferring.
at line 37
Traversable
getIterator()
Get an iterator instance for the variable.
at line 47
mixed
__get(string $key)
Dynamically proxy attribute access to the variable.
at line 55
mixed
__call(string $method, array $parameters)
Dynamically proxy method access to the variable.
at line 63
mixed
__invoke()
Resolve the variable.
at line 71
string
__toString()
Resolve the variable as a string.