class InvokableComponentVariable implements DeferringDisplayableValue, IteratorAggregate (View source)
protected Closure | $callable | The callable instance to resolve the variable value. |
void | __construct(Closure $callable) Create a new variable instance. | |
Htmlable|string | resolveDisplayableValue() Resolve the displayable value that the class is deferring. | |
ArrayIterator | getIterator() Get an interator 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. | |
mixed | __toString() Resolve the variable as a string. |
Create a new variable instance.
Resolve the displayable value that the class is deferring.
Get an interator 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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/InvokableComponentVariable.html