src/RollbarJsHelper.php
public static function buildJs(
        $config,
        $headers = null,
        $nonce = null,
        $customJs = ""
    ) {
        $helper = new self($config);
        return $helper->addJs($headers, $nonce, $customJs);
    }
public static function buildJs(
        $config,
        $headers = null,
        $nonce = null,
        $customJs = ""
    ) {
        $helper = new self($config);
        return $helper->addJs($headers, $nonce, $customJs);
    }
public static function buildJs ( $ config , $ headers = null , $ nonce = null , $ customJs = "" ) { $ helper = new self ( $ config ) ; return $ helper -> addJs ( $ headers , $ nonce , $ customJs ) ; }
Shortcut method for building the RollbarJS Javascript

@param array $config @see addJs()
@param string $nonce @see addJs()
@param string $customJs @see addJs()

@return string
Shortcut method for building the RollbarJS Javascript