public static function getClassMethods($context, $class) {
        $methods = array();

        foreach ($class->getMethods() as $method) {
            $meta = static::getMeta($method);
            $methods[$meta['name']] = static::scanDependency($context, preg_replace('/public static function (.+)\\(/', "function {$context['funcprefix']}\$1(", $meta['code']), $meta['code']);
        }

        return $methods;
    }
public static function getClassMethods($context, $class) {
        $methods = array();

        foreach ($class->getMethods() as $method) {
            $meta = static::getMeta($method);
            $methods[$meta['name']] = static::scanDependency($context, preg_replace('/public static function (.+)\\(/', "function {$context['funcprefix']}\$1(", $meta['code']), $meta['code']);
        }

        return $methods;
    }
public static function getClassMethods ( $ context , $ class ) { $ methods = array ( ) ; foreach ( $ class -> getMethods ( ) as $ method ) { $ meta = static :: getMeta ( $ method ) ; $ methods [ $ meta [ 'name' ] ] = static :: scanDependency ( $ context , preg_replace ( '/public static function (.+)\\(/' , "function {$context['funcprefix']}\$1(" , $ meta [ 'code' ] ) , $ meta [ 'code' ] ) ; } return $ methods ; }
Get methods from ReflectionClass

@param array<string,array|string|integer> $context current compile context
@param \ReflectionClass $class instance of the ReflectionClass

@return array
Get methods from ReflectionClass