PHP Класс Shopware\PluginCreator\Services\Generator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Shopware\PluginCreator\Services\IoAdapter\IoAdapter $ioAdapter, Configuration $configuration, NameGenerator $nameGenerator, Template $template, Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderLoaderInterface $fileProviderLoader, Shopware\PluginCreator\Services\WorkingDirectoryProvider\OutputDirectoryProviderInterface $outputDirectoryProvider )
run ( ) Creates the actual plugin from template files

Приватные методы

Метод Описание
configureTemplate ( ) setup the template
createFilesFromTemplate ( $files ) Creates files from an array of template files
processTemplateFiles ( ) Will step through all known template files, render and copy them to the configured destination

Описание методов

__construct() публичный метод

public __construct ( Shopware\PluginCreator\Services\IoAdapter\IoAdapter $ioAdapter, Configuration $configuration, NameGenerator $nameGenerator, Template $template, Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderLoaderInterface $fileProviderLoader, Shopware\PluginCreator\Services\WorkingDirectoryProvider\OutputDirectoryProviderInterface $outputDirectoryProvider )
$ioAdapter Shopware\PluginCreator\Services\IoAdapter\IoAdapter
$configuration Shopware\PluginCreator\Struct\Configuration
$nameGenerator NameGenerator
$template Template
$fileProviderLoader Shopware\PluginCreator\Services\TemplateFileProvider\FileProviderLoaderInterface
$outputDirectoryProvider Shopware\PluginCreator\Services\WorkingDirectoryProvider\OutputDirectoryProviderInterface

run() публичный метод

Creates the actual plugin from template files
public run ( )