class ClassInvoker

Provides access to protected and private members of an object.

Properties

protected ReflectionClass $reflection

Methods

__construct(object $instance)

No description

mixed
__get(string $name)

Get a property value from the wrapped instance.

mixed
__call(string $name, array $arguments)

Call a method on the wrapped instance.

Details

at line 16
__construct(object $instance)

No description

Parameters

object $instance

at line 25
mixed __get(string $name)

Get a property value from the wrapped instance.

Parameters

string $name

Return Value

mixed

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

Call a method on the wrapped instance.

Parameters

string $name
array $arguments

Return Value

mixed