src/Helpers.php
public static function getFormatTemplate($name) {
        $file = sprintf(
            '%s/Model/template/format/%s.html',
            __DIR__,
            $name
        );

        if (!file_exists($file)) {
            return null;
        }

        if (!isset(self::$templates[$name])) {
            self::$templates[$name] = file_get_contents($file);
        }

        return self::$templates[$name];
    }
public static function getFormatTemplate($name) {
        $file = sprintf(
            '%s/Model/template/format/%s.html',
            __DIR__,
            $name
        );

        if (!file_exists($file)) {
            return null;
        }

        if (!isset(self::$templates[$name])) {
            self::$templates[$name] = file_get_contents($file);
        }

        return self::$templates[$name];
    }
public static function getFormatTemplate ( $ name ) { $ file = sprintf ( '%s/Model/template/format/%s.html' , __DIR__ , $ name ) ; if ( ! file_exists ( $ file ) ) { return null ; } if ( ! isset ( self :: $ templates [ $ name ] ) ) { self :: $ templates [ $ name ] = file_get_contents ( $ file ) ; } return self :: $ templates [ $ name ] ; }
Returns a format template

@param *string $name

@return Schema
Returns a format template