PHP 클래스 Shopware\PluginCreator\Command\CreatePluginCommand

상속: extends ShopwareCli\Command\BaseCommand
파일 보기 프로젝트 열기: shopwarelabs/sw-cli-tools

공개 메소드들

메소드 설명
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
normalizeBooleanFields ( Symfony\Component\Console\Input\InputInterface $input ) Make sure, that our booleans are actual booleans
upperToArray ( $input ) : array Split "SwagTestPlugin" into array("Swag", "Test", "Plugin")
validateModel ( $input ) : mixed Check the entered model (check might be somewhat more sufisticated)
validateNamespace ( $input ) : mixed Make sure the namespace is one of core, backend, frontend

보호된 메소드들

메소드 설명
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getConfig ( ) : Config
getConfigurationObject ( Symfony\Component\Console\Input\InputInterface $input ) : Configuration Populate a configuration object by the input interface
validateName ( $name ) Check the plugin name - it needs to constist of two parts at least - the first one is the dev prefix

비공개 메소드들

메소드 설명
prepareLicenseHeader ( $license )

메소드 상세

configure() 보호된 메소드

protected configure ( )

execute() 보호된 메소드

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getConfig() 보호된 메소드

protected getConfig ( ) : Config
리턴 Config

getConfigurationObject() 보호된 메소드

Populate a configuration object by the input interface
protected getConfigurationObject ( Symfony\Component\Console\Input\InputInterface $input ) : Configuration
$input Symfony\Component\Console\Input\InputInterface
리턴 Shopware\PluginCreator\Struct\Configuration

interact() 공개 메소드

public interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

normalizeBooleanFields() 공개 메소드

Make sure, that our booleans are actual booleans
public normalizeBooleanFields ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

upperToArray() 공개 메소드

Split "SwagTestPlugin" into array("Swag", "Test", "Plugin")
public upperToArray ( $input ) : array
$input
리턴 array

validateModel() 공개 메소드

Check the entered model (check might be somewhat more sufisticated)
public validateModel ( $input ) : mixed
$input
리턴 mixed

validateName() 보호된 메소드

Check the plugin name - it needs to constist of two parts at least - the first one is the dev prefix
protected validateName ( $name )
$name

validateNamespace() 공개 메소드

Make sure the namespace is one of core, backend, frontend
public validateNamespace ( $input ) : mixed
$input
리턴 mixed