메소드 | 설명 | |
---|---|---|
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 ) : |
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 ) |
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 |
protected getConfigurationObject ( Symfony\Component\Console\Input\InputInterface $input ) : |
||
$input | Symfony\Component\Console\Input\InputInterface | |
리턴 |
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 |
public normalizeBooleanFields ( Symfony\Component\Console\Input\InputInterface $input ) | ||
$input | Symfony\Component\Console\Input\InputInterface |
public upperToArray ( $input ) : array | ||
$input | ||
리턴 | array |
public validateModel ( $input ) : mixed | ||
$input | ||
리턴 | mixed |
protected validateName ( $name ) | ||
$name |
public validateNamespace ( $input ) : mixed | ||
$input | ||
리턴 | mixed |