Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderLoaderInterface::load PHP Method

load() public method

Loads and returns all file providers.
public load ( ) : Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]
return Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]
    public function load();

Usage Example

Example #1
0
 /**
  * Will step through all known template files, render and copy them to the configured destination
  */
 private function processTemplateFiles()
 {
     foreach ($this->fileProviderLoader->load() as $provider) {
         $this->createFilesFromTemplate($provider->getFiles($this->configuration, $this->nameGenerator));
     }
 }
FileProviderLoaderInterface