public static function safestring($context) {
        $class = new \ReflectionClass($context['safestring']);

        return array_reduce(static::getClassMethods($context, $class), function ($in, $cur) {
            return $in . $cur[2];
        }, "if (!class_exists(\"" . addslashes($context['safestringalias']) . "\")) {\nclass {$context['safestringalias']} {\n" . static::getClassStatics($class)) . "}\n}\n";
    }
public static function safestring($context) {
        $class = new \ReflectionClass($context['safestring']);

        return array_reduce(static::getClassMethods($context, $class), function ($in, $cur) {
            return $in . $cur[2];
        }, "if (!class_exists(\"" . addslashes($context['safestringalias']) . "\")) {\nclass {$context['safestringalias']} {\n" . static::getClassStatics($class)) . "}\n}\n";
    }
public static function safestring ( $ context ) { $ class = new \ ReflectionClass ( $ context [ 'safestring' ] ) ; return array_reduce ( static :: getClassMethods ( $ context , $ class ) , function ( $ in , $ cur ) { return $ in . $ cur [ 2 ] ; } , "if (!class_exists(\"" . addslashes ( $ context [ 'safestringalias' ] ) . "\")) {\nclass {$context['safestringalias']} {\n" . static :: getClassStatics ( $ class ) ) . "}\n}\n" ; }
Export SafeString class as string

@param array<string,array|string|integer> $context current compile context

@return string
Export SafeString class as string