Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return |
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 | ||
return | array |
public validateModel ( $input ) : mixed | ||
$input | ||
return | mixed |
protected validateName ( $name ) | ||
$name |
public validateNamespace ( $input ) : mixed | ||
$input | ||
return | mixed |