Property | Type | Description | |
---|---|---|---|
$_argv | array | ||
$commandConfig | array | ||
$config | array | ||
$notEmptyCallback | Closure |
Method | Description | |
---|---|---|
downloadMagento ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : boolean | ||
getCliArguments ( ) : array | ||
isEnabled ( ) : boolean | ||
setCliArguments ( array $args ) |
Method | Description | |
---|---|---|
_fixComposerExtractionBug ( ) | ||
configure ( ) | ||
createDatabase ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void | ||
getInstallScriptPath ( ) : string | Check if we have a magento 2 or 1 installation and return path to install.php | |
getTargetFolderByType ( Composer\Composer $composer, Composer\Package\CompletePackage $package, $installationFolder ) : string | construct a folder to where magerun will download the source to, cache git/hg repositories under COMPOSER_HOME | |
installMagento ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | ||
installSampleData ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
patchMagentoInstallerForPHP54 ( string $magentoFolder ) | ||
precheckPhp ( ) | Check PHP environment agains minimal required settings modules | |
removeEmptyFolders ( ) | Remove empty composer extraction folder | |
replaceHtaccessFile ( string $baseUrl ) | ||
selectMagentoVersion ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
setDirectoryPermissions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
validateDatabaseSettings ( Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input ) : boolean | PD\PDO |
Method | Description | |
---|---|---|
getPackageNumberByName ( $name ) : integer | ||
runInstallScriptCommand ( Symfony\Component\Console\Output\OutputInterface $output, string $installationFolder, array $argv ) : void | Invoke Magento PHP install script shell/install.php |
protected createDatabase ( 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 downloadMagento ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : boolean | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return | boolean |
protected getInstallScriptPath ( ) : string | ||
return | string |
protected getTargetFolderByType ( Composer\Composer $composer, Composer\Package\CompletePackage $package, $installationFolder ) : string | ||
$composer | Composer\Composer | |
$package | Composer\Package\CompletePackage | |
$installationFolder | ||
return | string |
protected installMagento ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return | array |
protected installSampleData ( 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 patchMagentoInstallerForPHP54 ( string $magentoFolder ) | ||
$magentoFolder | string |
protected precheckPhp ( ) |
protected removeEmptyFolders ( ) |
protected replaceHtaccessFile ( string $baseUrl ) | ||
$baseUrl | string |
protected selectMagentoVersion ( 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 setDirectoryPermissions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected validateDatabaseSettings ( Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input ) : boolean | PD\PDO | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$input | Symfony\Component\Console\Input\InputInterface | |
return | boolean | PD\PDO |