final class ClassManipulator

Methods

__construct(ClassType $class)

No description

inheritProperty(string $name, bool $returnIfExists = false)

Inherits property from parent class.

inheritMethod(string $name, bool $returnIfExists = false)

Inherits method from parent class or interface.

void
implementInterface(string $interfaceName)

Implements all methods from the given interface.

Details

at line 17
__construct(ClassType $class)

No description

Parameters

ClassType $class

at line 26
Property inheritProperty(string $name, bool $returnIfExists = false)

Inherits property from parent class.

Parameters

string $name
bool $returnIfExists

Return Value

Property

at line 53
Method inheritMethod(string $name, bool $returnIfExists = false)

Inherits method from parent class or interface.

Parameters

string $name
bool $returnIfExists

Return Value

Method

at line 83
void implementInterface(string $interfaceName)

Implements all methods from the given interface.

Parameters

string $interfaceName

Return Value

void