Shopware\PluginCreator\Services\TemplateFileProvider\Current\ElasticSearchProvider::getFiles PHP Method

getFiles() public method

public getFiles ( Configuration $configuration, NameGenerator $nameGenerator )
$configuration Shopware\PluginCreator\Struct\Configuration
$nameGenerator Shopware\PluginCreator\Services\NameGenerator
    public function getFiles(Configuration $configuration, NameGenerator $nameGenerator)
    {
        if (!$configuration->hasElasticSearch) {
            return [];
        }
        return [self::CURRENT_DIR . 'Components/ESIndexingBundle/DataIndexer.tpl' => 'Components/ESIndexingBundle/DataIndexer.php', self::CURRENT_DIR . 'Components/ESIndexingBundle/Mapping.tpl' => 'Components/ESIndexingBundle/Mapping.php', self::CURRENT_DIR . 'Components/ESIndexingBundle/Provider.tpl' => 'Components/ESIndexingBundle/Provider.php', self::CURRENT_DIR . 'Components/ESIndexingBundle/Settings.tpl' => 'Components/ESIndexingBundle/Settings.php', self::CURRENT_DIR . 'Components/ESIndexingBundle/Synchronizer.tpl' => 'Components/ESIndexingBundle/Synchronizer.php', self::CURRENT_DIR . 'Components/SearchBundleES/Search.tpl' => 'Components/SearchBundleES/Search.php'];
    }
ElasticSearchProvider