public static function registerHandlebarsExtension($source, $runtime = false)
    {
        if (!self::isRegistered($runtime)) {
            $extension = $runtime ? self::EXTN_RUNTIME : self::EXTN_HANDLEBARS;
            V8Js::registerExtension($extension, $source, [], false);
        }
    }
public static function registerHandlebarsExtension($source, $runtime = false)
    {
        if (!self::isRegistered($runtime)) {
            $extension = $runtime ? self::EXTN_RUNTIME : self::EXTN_HANDLEBARS;
            V8Js::registerExtension($extension, $source, [], false);
        }
    }
public static function registerHandlebarsExtension ( $ source , $ runtime = false ) { if ( ! self :: isRegistered ( $ runtime ) ) { $ extension = $ runtime ? self :: EXTN_RUNTIME : self :: EXTN_HANDLEBARS ; V8Js :: registerExtension ( $ extension , $ source , [ ] , false ) ; } }
Registers handlebars script with V8Js

This *must* be called before the first call to self::create()
@param string $source
@param boolean $runtime
Registers handlebars script with V8Js