HigherOrderWhenProxy
class HigherOrderWhenProxy
Properties
| protected bool | $condition | The condition for proxying. |
|
| protected bool | $hasCondition | Indicates whether the proxy has a condition. |
|
| protected bool | $negateConditionOnCapture | Determine whether the condition should be negated. |
Methods
__construct(mixed $target)
Create a new proxy instance.
condition(mixed $condition)
Set the condition on the proxy.
negateConditionOnCapture()
Indicate that the condition should be negated.
mixed
__get(string $key)
Proxy accessing an attribute onto the target.
mixed
__call(string $method, array $parameters)
Proxy a method call on the target.
Details
at line 27
__construct(mixed $target)
Create a new proxy instance.
at line 35
HigherOrderWhenProxy
condition(mixed $condition)
Set the condition on the proxy.
at line 45
HigherOrderWhenProxy
negateConditionOnCapture()
Indicate that the condition should be negated.
at line 55
mixed
__get(string $key)
Proxy accessing an attribute onto the target.
at line 71
mixed
__call(string $method, array $parameters)
Proxy a method call on the target.