PHP Class Shopware\Plugin\Command\InstallCommand

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

Protected Properties

Property Type Description
$shopwarePath string

Public Methods

Method Description
doInstall ( $plugin, &$params )
getInstallService ( ) : Install

Protected Methods

Method Description
askActivatePluginQuestion ( ) : boolean
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getShopwarePath ( ) : string

Private Methods

Method Description
checkout ( $plugin, &$params ) : mixed
install ( $plugin, &$params ) : mixed

Method Details

askActivatePluginQuestion() protected method

protected askActivatePluginQuestion ( ) : boolean
return boolean

configure() protected method

protected configure ( )

doInstall() public method

public doInstall ( $plugin, &$params )
$plugin
$params

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

getInstallService() public method

public getInstallService ( ) : Install
return Shopware\Plugin\Services\Install

getShopwarePath() protected method

protected getShopwarePath ( ) : string
return string

Property Details

$shopwarePath protected property

protected string $shopwarePath
return string