src/View.php
public function prependHeadScript($src, $isFile = true)
    {
        $script = $this->createScript($src, $isFile);
        $scripts = $this->headScripts;
        array_unshift($scripts, $script);
        $this->headScripts = $scripts;
    }
public function prependHeadScript($src, $isFile = true)
    {
        $script = $this->createScript($src, $isFile);
        $scripts = $this->headScripts;
        array_unshift($scripts, $script);
        $this->headScripts = $scripts;
    }
public function prependHeadScript ( $ src , $ isFile = true ) { $ script = $ this -> createScript ( $ src , $ isFile ) ; $ scripts = $ this -> headScripts ; array_unshift ( $ scripts , $ script ) ; $ this -> headScripts = $ scripts ; }
Prepend script to header

@param string $src
@param bool $isFile
Prepend script to header