PHP Class Magestead\Command\NewCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Show file Open project: richdynamix/magestead

Protected Properties

Property Type Description
$_basePath
$_msConfig
$_projectPath

Protected Methods

Method Description
configure ( )
configureProject ( array $options, Symfony\Component\Console\Output\OutputInterface $output )
copyConfigFiles ( $source, $target, Symfony\Component\Console\Output\OutputInterface $output )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Magento2Project | MagentoProject
getConfigFile ( Symfony\Component\Console\Output\OutputInterface $output ) : mixed
saveConfigFile ( array $config, Symfony\Component\Console\Output\OutputInterface $output )
setProject ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
setupProject ( Symfony\Component\Console\Output\OutputInterface $output, $options )

Method Details

configure() protected method

protected configure ( )

configureProject() protected method

protected configureProject ( array $options, Symfony\Component\Console\Output\OutputInterface $output )
$options array
$output Symfony\Component\Console\Output\OutputInterface

copyConfigFiles() protected method

protected copyConfigFiles ( $source, $target, Symfony\Component\Console\Output\OutputInterface $output )
$source
$target
$output Symfony\Component\Console\Output\OutputInterface

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Magento2Project | MagentoProject
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return Magestead\Installers\Magento2Project | Magestead\Installers\MagentoProject

getConfigFile() protected method

protected getConfigFile ( Symfony\Component\Console\Output\OutputInterface $output ) : mixed
$output Symfony\Component\Console\Output\OutputInterface
return mixed

saveConfigFile() protected method

protected saveConfigFile ( array $config, Symfony\Component\Console\Output\OutputInterface $output )
$config array
$output Symfony\Component\Console\Output\OutputInterface

setProject() protected method

protected setProject ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
return mixed

setupProject() protected method

protected setupProject ( Symfony\Component\Console\Output\OutputInterface $output, $options )
$output Symfony\Component\Console\Output\OutputInterface
$options

Property Details

$_basePath protected property

protected $_basePath

$_msConfig protected property

protected $_msConfig

$_projectPath protected property

protected $_projectPath