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 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 80
void
implement(string $name)
Implements all methods from the given interface or abstract class.
at line 126
void
implementInterface(string $interfaceName)
deprecated
deprecated
No description