protected function mergeTemplateResources(TemplateResources $templateResources)
    {
        $this->stylesheets    = array_merge($this->stylesheets, $templateResources->getStylesheets());
        $this->headerScripts  = array_merge($this->headerScripts, $templateResources->getHeaderScripts());
        $this->headerIncludes = array_merge($this->headerIncludes, $templateResources->getHeaderIncludes());
        $this->footerScripts  = array_merge($this->footerScripts, $templateResources->getFooterScripts());
        $this->footerIncludes = array_merge($this->footerIncludes, $templateResources->getFooterIncludes());
    }
protected function mergeTemplateResources(TemplateResources $templateResources)
    {
        $this->stylesheets    = array_merge($this->stylesheets, $templateResources->getStylesheets());
        $this->headerScripts  = array_merge($this->headerScripts, $templateResources->getHeaderScripts());
        $this->headerIncludes = array_merge($this->headerIncludes, $templateResources->getHeaderIncludes());
        $this->footerScripts  = array_merge($this->footerScripts, $templateResources->getFooterScripts());
        $this->footerIncludes = array_merge($this->footerIncludes, $templateResources->getFooterIncludes());
    }
protected function mergeTemplateResources ( TemplateResources $ templateResources ) { $ this -> stylesheets = array_merge ( $ this -> stylesheets , $ templateResources -> getStylesheets ( ) ) ; $ this -> headerScripts = array_merge ( $ this -> headerScripts , $ templateResources -> getHeaderScripts ( ) ) ; $ this -> headerIncludes = array_merge ( $ this -> headerIncludes , $ templateResources -> getHeaderIncludes ( ) ) ; $ this -> footerScripts = array_merge ( $ this -> footerScripts , $ templateResources -> getFooterScripts ( ) ) ; $ this -> footerIncludes = array_merge ( $ this -> footerIncludes , $ templateResources -> getFooterIncludes ( ) ) ; }
Merge a set of template resources

@param TemplateResources $templateResources Template resources
Merge a set of template resources