public function coreScriptFilter($content) {

        $attributes = [];

        $attributes["type"] = "text/javascript";

        $innerHTML = null !== $content ? implode("", ["\n", $content, "\n"]) : "";

        return static::coreHTMLElement("script", $innerHTML, $attributes);
    }
public function coreScriptFilter($content) {

        $attributes = [];

        $attributes["type"] = "text/javascript";

        $innerHTML = null !== $content ? implode("", ["\n", $content, "\n"]) : "";

        return static::coreHTMLElement("script", $innerHTML, $attributes);
    }
public function coreScriptFilter ( $ content ) { $ attributes = [ ] ; $ attributes [ "type" ] = "text/javascript" ; $ innerHTML = null !== $ content ? implode ( "" , [ "\n" , $ content , "\n" ] ) : "" ; return static :: coreHTMLElement ( "script" , $ innerHTML , $ attributes ) ; }
Displays a script.

@param string $content The content.
@return string Returns a script.
Displays a script .