- $methodfilter = isset($extraOptions['method_filter']) ? $extraOptions['method_filter'] : '';
- $methodtype = isset($extraOptions['method_type']) ? $extraOptions['method_type'] : 'auto';
-
- $result = array();
- $mlist = get_class_methods($classname);
- foreach ($mlist as $mname) {
- if ($methodfilter == '' || preg_match($methodfilter, $mname)) {
- // echo $mlist."\n";
- $func = new \ReflectionMethod($classname, $mname);
+ $methodFilter = isset($extraOptions['method_filter']) ? $extraOptions['method_filter'] : '';
+ $methodType = isset($extraOptions['method_type']) ? $extraOptions['method_type'] : 'auto';
+ $prefix = isset($extraOptions['prefix']) ? $extraOptions['prefix'] : '';
+
+ $results = array();
+ $mList = get_class_methods($className);
+ foreach ($mList as $mName) {
+ if ($methodFilter == '' || preg_match($methodFilter, $mName)) {
+ $func = new \ReflectionMethod($className, $mName);