class InvokableComponentVariable implements DeferringDisplayableValue, IteratorAggregate, Stringable mixin TValue

Methods

__construct(Closure $callable)

Create a new variable instance.

mixed
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 27
__construct(Closure $callable)

Create a new variable instance.

Parameters

Closure $callable

at line 37
mixed resolveDisplayableValue()

Resolve the displayable value that the class is deferring.

Return Value

mixed

at line 47
Traversable getIterator()

Get an iterator instance for the variable.

Return Value

Traversable

at line 57
mixed __get(string $key)

Dynamically proxy attribute access to the variable.

Parameters

string $key

Return Value

mixed

at line 65
mixed __call(string $method, array $parameters)

Dynamically proxy method access to the variable.

Parameters

string $method
array $parameters

Return Value

mixed

at line 75
mixed __invoke()

Resolve the variable.

Return Value

mixed

at line 83
string __toString()

Resolve the variable as a string.

Return Value

string