original_string: protected function getDependencyTemplateResources()
      {
          $templateResources = [];
  
          // Run through all component dependencies
          foreach ($this->dependencies as $dependency) {
              $templateResources[] = $this->objectManager->get($dependency)->getPreviewTemplateResources();
          }
  
          return $templateResources;
      }
code: protected function getDependencyTemplateResources()
      {
          $templateResources = [];
  
          // Run through all component dependencies
          foreach ($this->dependencies as $dependency) {
              $templateResources[] = $this->objectManager->get($dependency)->getPreviewTemplateResources();
          }
  
          return $templateResources;
      }
code_tokens: protected function getDependencyTemplateResources ( ) { $ templateResources = [ ] ; // Run through all component dependencies foreach ( $ this -> dependencies as $ dependency ) { $ templateResources [ ] = $ this -> objectManager -> get ( $ dependency ) -> getPreviewTemplateResources ( ) ; } return $ templateResources ; }
docstring: Get the template resources of component dependencies
  
  @return TemplateResources[] Component dependency templace resources
docstring_tokens: Get the template resources of component dependencies