runkit7_method_remove

PECL runkit7 >= Unknown
runkit7_method_remove - Dynamically removes the given method
Manual
Code Examples

runkit7_method_remove( string$class_name, string$method_name ): bool
Note:

This function cannot be used to manipulate the currently running (or chained) method.

Parameters

class_name

The class in which to remove the method

method_name

The name of the method to remove

Return Values

Returns true on success or false on failure.

Related Functions

Example of runkit7_method_remove

Show all examples for runkit7_method_remove

PHP Version: