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
implement(string $name)
Implements all methods from the given interface or abstract class.
void
Details
at line 18
__construct(ClassType $class)
No description
at line 27
Property
inheritProperty(string $name, bool $returnIfExists = false)
Inherits property from parent class.
at line 54
Method
inheritMethod(string $name, bool $returnIfExists = false)
Inherits method from parent class or interface.
at line 81
void
implement(string $name)
Implements all methods from the given interface or abstract class.
at line 127
void
implementInterface(string $interfaceName)
deprecated
deprecated
No description