PHP Class N98\Magento\Command\MagentoConnect\ValidateExtensionCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Show file Open project: netz98/n98-magerun

Protected Properties

Property Type Description
$_connectConfig

Protected Methods

Method Description
_getBasePackages ( ) : string[]
_getBasePathFromTargetName ( string $targetName ) : string
_getDownloaderConfigPath ( ) : string
_getExtensionFileListFromSpecificConfig ( array $config ) : array
_getInstalledPackages ( ) : array
_getParentNode ( SimpleXMLElemen\SimpleXMLElement $node ) : mixed
_getPathOfFileNodeToTarget ( SimpleXMLElemen\SimpleXMLElement $node, string $path = '' ) : string
_getSpecificPackageConfig ( string $name ) : array | boolean
_init ( Symfony\Component\Console\Output\OutputInterface $output )
_loadConfig ( ) : boolean | mixed
_optionOutput ( string $text, string $type, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
_validateSpecificPackage ( string $package, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getPathOfFileNodeToTarget ( SimpleXmlElement $node, string $path = '' ) : string

Method Details

_getBasePackages() protected method

protected _getBasePackages ( ) : string[]
return string[]

_getBasePathFromTargetName() protected method

protected _getBasePathFromTargetName ( string $targetName ) : string
$targetName string
return string

_getDownloaderConfigPath() protected method

protected _getDownloaderConfigPath ( ) : string
return string

_getExtensionFileListFromSpecificConfig() protected method

protected _getExtensionFileListFromSpecificConfig ( array $config ) : array
$config array
return array

_getInstalledPackages() protected method

protected _getInstalledPackages ( ) : array
return array

_getParentNode() protected method

protected _getParentNode ( SimpleXMLElemen\SimpleXMLElement $node ) : mixed
$node SimpleXMLElemen\SimpleXMLElement
return mixed

_getPathOfFileNodeToTarget() protected method

protected _getPathOfFileNodeToTarget ( SimpleXMLElemen\SimpleXMLElement $node, string $path = '' ) : string
$node SimpleXMLElemen\SimpleXMLElement
$path string
return string

_getSpecificPackageConfig() protected method

protected _getSpecificPackageConfig ( string $name ) : array | boolean
$name string
return array | boolean

_init() protected method

protected _init ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

_loadConfig() protected method

protected _loadConfig ( ) : boolean | mixed
return boolean | mixed

_optionOutput() protected method

protected _optionOutput ( string $text, string $type, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
$text string
$type string
$output Symfony\Component\Console\Output\OutputInterface
$input Symfony\Component\Console\Input\InputInterface

_validateSpecificPackage() protected method

protected _validateSpecificPackage ( string $package, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
$package string
$output Symfony\Component\Console\Output\OutputInterface
$input Symfony\Component\Console\Input\InputInterface

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

getPathOfFileNodeToTarget() protected method

protected getPathOfFileNodeToTarget ( SimpleXmlElement $node, string $path = '' ) : string
$node SimpleXmlElement
$path string
return string

Property Details

$_connectConfig protected property

protected $_connectConfig