trait CoroutineProxy

Methods

mixed
__call(string $name, array $arguments)

Forward a method call to the proxy target.

mixed
__get(string $name)

Forward a property read to the proxy target.

void
__set(string $name, mixed $value)

Forward a property write to the proxy target.

mixed
getTargetObject()

Retrieve the proxy target from coroutine context.

Details

at line 15
mixed __call(string $name, array $arguments)

Forward a method call to the proxy target.

Parameters

string $name
array $arguments

Return Value

mixed

at line 25
mixed __get(string $name)

Forward a property read to the proxy target.

Parameters

string $name

Return Value

mixed

at line 35
void __set(string $name, mixed $value)

Forward a property write to the proxy target.

Parameters

string $name
mixed $value

Return Value

void

at line 44
protected mixed getTargetObject()

Retrieve the proxy target from coroutine context.

Return Value

mixed