/** * Constructor * * @param Src|string $src * @param string $charset * @param boolean $defer * @param boolean $async * @param string $content */ public function __construct($src = null, $charset = null, $defer = false, $async = false) { parent::__construct($src, 'text/javascript', $charset, $defer, $async, null); }
/** * Constructor * * @param string $content */ public function __construct($content) { parent::__construct(null, 'text/javascript', null, false, false, $content); }