Property | Type | Description | |
---|---|---|---|
$_deprecatedAlias | array | ||
$_magentoEnterprise | boolean | ||
$_magentoMajorVersion | integer | ||
$_magentoRootFolder | string | ||
$_websiteCodeMap | array |
Method | Description | |
---|---|---|
detectMagento ( Symfony\Component\Console\Output\OutputInterface $output, boolean $silent = true ) | Search for magento root folder | |
run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer |
Method | Description | |
---|---|---|
_getModel ( string $mage1code, string $mage2class ) : Mage_Core_Model_Abstract | Magento 1 / 2 switches | |
_getResourceModel ( string $mage1code, string $mage2class ) : Mage_Core_Model_Abstract | Magento 1 / 2 switches | |
_getResourceSingleton ( string $mage1code, string $mage2class ) : Mage_Core_Model_Abstract | Magento 1 / 2 switches | |
_getWebsiteCodeById ( integer $websiteId ) : string | ||
_getWebsiteIdByCode ( string $websiteCode ) : integer | ||
_parseBoolOption ( string $value ) : boolean | ||
addDeprecatedAlias ( string $alias, string $message ) : |
||
askForArrayEntry ( array $entries, Symfony\Component\Console\Output\OutputInterface $output, string $question ) : mixed | ||
checkDeprecatedAliases ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
checkRepository ( Composer\Package\PackageInterface $package, string $targetFolder ) | brings locally cached repository up to date if it is missing the requested tag | |
chooseInstallationFolder ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
createComposerPackageByConfig ( array | Composer\Package\PackageInterface $config ) : Composer\Package\CompletePackage | ||
downloadByComposerConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array | Composer\Package\PackageInterface $config, string $targetFolder, boolean $preferSource = true ) : Composer\Package\CompletePackage | ||
formatActive ( string $value ) : string | ||
getArgumentMessage ( string $argument, string $message = null ) : string | ||
getCommandConfig ( string | null $commandClass = null ) : array | ||
getComposer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Composer\Composer | obtain composer | |
getComposerDownloadManager ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Composer\Downloader\DownloadManager | ||
getCoreHelper ( ) : Mage_Core_Helper_Data | ||
getOrAskForArgument ( string $argument, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $message = null ) : string | ||
initMagento ( boolean $soft = false ) : boolean | Bootstrap magento shop | |
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Initializes the command just after the input has been validated. | |
isSourceTypeRepository ( string $type ) : boolean | ||
normalizePath ( string $path ) : string | normalize paths on windows / cygwin / msysgit | |
requireEnterprise ( Symfony\Component\Console\Output\OutputInterface $output ) | Die if not Enterprise | |
writeSection ( Symfony\Component\Console\Output\OutputInterface $output, string $text, string $style = 'bg=blue;fg=white' ) |
Method | Description | |
---|---|---|
_initWebsites ( ) |
protected _getResourceModel ( string $mage1code, string $mage2class ) : Mage_Core_Model_Abstract | ||
$mage1code | string | Magento 1 class code |
$mage2class | string | Magento 2 class name |
return | Mage_Core_Model_Abstract |
protected _getResourceSingleton ( string $mage1code, string $mage2class ) : Mage_Core_Model_Abstract | ||
$mage1code | string | Magento 1 class code |
$mage2class | string | Magento 2 class name |
return | Mage_Core_Model_Abstract |
protected _getWebsiteCodeById ( integer $websiteId ) : string | ||
$websiteId | integer | |
return | string |
protected _getWebsiteIdByCode ( string $websiteCode ) : integer | ||
$websiteCode | string | |
return | integer |
protected _parseBoolOption ( string $value ) : boolean | ||
$value | string | |
return | boolean |
protected addDeprecatedAlias ( string $alias, string $message ) : |
||
$alias | string | |
$message | string | |
return |
protected askForArrayEntry ( array $entries, Symfony\Component\Console\Output\OutputInterface $output, string $question ) : mixed | ||
$entries | array | zero-indexed array of entries (represented by strings) to select from |
$output | Symfony\Component\Console\Output\OutputInterface | |
$question | string | |
return | mixed |
protected checkDeprecatedAliases ( 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 checkRepository ( Composer\Package\PackageInterface $package, string $targetFolder ) | ||
$package | Composer\Package\PackageInterface | |
$targetFolder | string |
protected chooseInstallationFolder ( 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 createComposerPackageByConfig ( array | Composer\Package\PackageInterface $config ) : Composer\Package\CompletePackage | ||
$config | array | Composer\Package\PackageInterface | |
return | Composer\Package\CompletePackage |
public detectMagento ( Symfony\Component\Console\Output\OutputInterface $output, boolean $silent = true ) | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$silent | boolean | print debug messages |
protected downloadByComposerConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array | Composer\Package\PackageInterface $config, string $targetFolder, boolean $preferSource = true ) : Composer\Package\CompletePackage | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
$config | array | Composer\Package\PackageInterface | |
$targetFolder | string | |
$preferSource | boolean | |
return | Composer\Package\CompletePackage |
protected formatActive ( string $value ) : string | ||
$value | string | |
return | string |
protected getComposer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Composer\Composer | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return | Composer\Composer |
protected getComposerDownloadManager ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Composer\Downloader\DownloadManager | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return | Composer\Downloader\DownloadManager |
protected getCoreHelper ( ) : Mage_Core_Helper_Data | ||
return | Mage_Core_Helper_Data |
protected getOrAskForArgument ( string $argument, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $message = null ) : string | ||
$argument | string | |
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
$message | string | |
return | string |
protected initMagento ( boolean $soft = false ) : boolean | ||
$soft | boolean | |
return | boolean |
protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | An InputInterface instance |
$output | Symfony\Component\Console\Output\OutputInterface | An OutputInterface instance |
protected isSourceTypeRepository ( string $type ) : boolean | ||
$type | string | |
return | boolean |
protected normalizePath ( string $path ) : string | ||
$path | string | |
return | string |
protected requireEnterprise ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected writeSection ( Symfony\Component\Console\Output\OutputInterface $output, string $text, string $style = 'bg=blue;fg=white' ) | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$text | string | |
$style | string |