PHP Class Shopware\Install\Command\ShopwareInstallVcsCommand

Inheritance: extends ShopwareCli\Command\BaseCommand
Show file Open project: shopwarelabs/sw-cli-tools

Public Methods

Method Description
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 )

Private Methods

Method Description
askBasePath ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService, string $suggestion )
askBranch ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService ) : string
askDatabaseName ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService, string $suggestion )
askInstallationDir ( Symfony\Component\Console\Input\InputInterface $input, ShopwareCli\Services\IoService $ioService, string $suggestion ) : string
suggestNameFromBranch ( string $branch ) : string Try to guess a proper name (swTICKETNUMBER) from the branch name

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

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

validateInstallDir() public method

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