Shopware\PluginCreator\Services\TemplateFileProvider\Current\ModelFileProvider::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->hasModels) {
            return [];
        }
        return array(self::CURRENT_DIR . "Models/Model.tpl" => "Models/{$nameGenerator->camelCaseModel}.php", self::CURRENT_DIR . "Models/Repository.tpl" => "Models/Repository.php");
    }
ModelFileProvider