/**
* @throws Exception
*
* @return string[] returns array with absolute javascript files paths
*/
public function collectJavascriptFiles(Shop\Template
$template, Shop\Shop
$shop) { $inheritances =
$this->inheritance->
buildInheritances($template);
$definitions =
$this->
collectInheritanceJavascript($inheritances['bare'
]);
$definitions =
array_merge( $definitions,
$this->
collectPluginJavascript($shop,
$template) );
$definitions =
array_merge( $definitions,
$this->
collectInheritanceJavascript($inheritances['custom'
]) );