InvokableComponentVariable
class InvokableComponentVariable implements DeferringDisplayableValue, IteratorAggregate, Stringable (View source)
Properties
| protected Closure | $callable | The callable instance to resolve the variable value. |
Methods
Resolve the displayable value that the class is deferring.
Get an iterator instance for the variable.
Dynamically proxy attribute access to the variable.
Dynamically proxy method access to the variable.
Resolve the variable.
Resolve the variable as a string.
Details
void
__construct(Closure $callable)
Create a new variable instance.
Htmlable|string
resolveDisplayableValue()
Resolve the displayable value that the class is deferring.
Traversable
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.