<?phpclass Example { function foo() { return "foo!\n"; } function bar() { return "bar!\n"; } }// Remove the 'foo' methodclasskit_method_remove( 'Example', 'foo'); echo implode(' ', get_class_methods('Example'));?>
The above example will output:
bar