PHP 클래스 Shopware\PluginCreator\Services\Generator

파일 보기 프로젝트 열기: shopwarelabs/sw-cli-tools 1 사용 예제들

공개 메소드들

메소드 설명
__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 ( )