PHP Class Shopware\Install\Command\ShopwareInstallReleaseCommand

Inheritance: extends Shopware\Install\Command\ShopwareInstallReleaseDirectoryCommand
ファイルを表示 Open project: shopwarelabs/sw-cli-tools

Public Methods

Method Description
genericValidator ( string $input ) : string
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
validateInstallDir ( string $path ) : string

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getConfig ( ) : ShopwareCli\Config
validateInput ( Symfony\Component\Console\Input\InputInterface $input )

Private Methods

Method Description
addAdminOptions ( )
addDbOptions ( )
addInstallerOptions ( )
addShopOptions ( )
askBasePath ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService, string $suggestion )
askDatabaseName ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService, string $suggestion )
askDatabasePassword ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService )
askDatabaseUser ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService )
askGenericOptions ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService ) Make sure, that some required fields are available
askInstallationDirectory ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService, string $suggestion ) : string
askRelease ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService ) : string

Method Details

configure() protected method

protected configure ( )

execute() protected method

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

genericValidator() public method

public genericValidator ( string $input ) : string
$input string
return string

getConfig() protected method

protected getConfig ( ) : ShopwareCli\Config
return ShopwareCli\Config

interact() public method

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

validateInput() protected method

protected validateInput ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

validateInstallDir() public method

public validateInstallDir ( string $path ) : string
$path string
return string