PHP Class Shopware\PluginCreator\Services\TemplateFileProvider\LegacyOptionFileProviderLoader

Inheritance: implements Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderLoaderInterface
Show file Open project: shopwarelabs/sw-cli-tools Class Usage Examples

Public Methods

Method Description
__construct ( boolean $isLegacy )
load ( ) : Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[] Loads all file providers based on the --legacy option.

Private Methods

Method Description
getCurrentProvider ( ) : Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]
getLegacyProvider ( ) : Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]

Method Details

__construct() public method

public __construct ( boolean $isLegacy )
$isLegacy boolean

load() public method

Loads all file providers based on the --legacy option.
public load ( ) : Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]
return Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderInterface[]