protected function getDependencyTemplateResources()
    {
        $templateResources = [];

        // Run through all component dependencies
        foreach ($this->dependencies as $dependency) {
            $templateResources[] = $this->objectManager->get($dependency)->getPreviewTemplateResources();
        }

        return $templateResources;
    }
protected function getDependencyTemplateResources()
    {
        $templateResources = [];

        // Run through all component dependencies
        foreach ($this->dependencies as $dependency) {
            $templateResources[] = $this->objectManager->get($dependency)->getPreviewTemplateResources();
        }

        return $templateResources;
    }
protected function getDependencyTemplateResources ( ) { $ templateResources = [ ] ; // Run through all component dependencies foreach ( $ this -> dependencies as $ dependency ) { $ templateResources [ ] = $ this -> objectManager -> get ( $ dependency ) -> getPreviewTemplateResources ( ) ; } return $ templateResources ; }
Get the template resources of component dependencies

@return TemplateResources[] Component dependency templace resources
Get the template resources of component dependencies