protected function getScriptDeps($section)
    {
        $dependencies = $this->getDependencies();
        $deps = isset($dependencies['scripts']) ? $dependencies['scripts'] : [];

        return isset($deps[$section]) ? $deps[$section] : [];
    }
protected function getScriptDeps($section)
    {
        $dependencies = $this->getDependencies();
        $deps = isset($dependencies['scripts']) ? $dependencies['scripts'] : [];

        return isset($deps[$section]) ? $deps[$section] : [];
    }
protected function getScriptDeps ( $ section ) { $ dependencies = $ this -> getDependencies ( ) ; $ deps = isset ( $ dependencies [ 'scripts' ] ) ? $ dependencies [ 'scripts' ] : [ ] ; return isset ( $ deps [ $ section ] ) ? $ deps [ $ section ] : [ ] ; }
Retrieves script dependencies

@param string $section The section of the site

@return array
Retrieves script dependencies