ClassManipulator
final class ClassManipulator
Methods
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
at line 26
Property
inheritProperty(string $name, bool $returnIfExists = false)
Inherits property from parent class.
at line 53
Method
inheritMethod(string $name, bool $returnIfExists = false)
Inherits method from parent class or interface.
at line 83
void
implementInterface(string $interfaceName)
Implements all methods from the given interface.