PHP Class N98\Magento\Command\MagentoConnect\AbstractConnectCommand

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

Protected Properties

Property Type Description
$mageScript string

Public Methods

Method Description
isEnabled ( ) : boolean

Protected Methods

Method Description
askForAlternativePackage ( array $alternatives, Symfony\Component\Console\Output\OutputInterface $output ) : string
callMageScript ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $mageScriptParams ) : string
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
isAlternative ( string $packageName, string $searchPackageName ) : boolean
matchConnectLine ( string $line ) : string[]

Private Methods

Method Description
findMageScript ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

askForAlternativePackage() protected method

protected askForAlternativePackage ( array $alternatives, Symfony\Component\Console\Output\OutputInterface $output ) : string
$alternatives array
$output Symfony\Component\Console\Output\OutputInterface
return string

callMageScript() protected method

protected callMageScript ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $mageScriptParams ) : string
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$mageScriptParams string
return string

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return integer | void

isAlternative() protected method

protected isAlternative ( string $packageName, string $searchPackageName ) : boolean
$packageName string
$searchPackageName string
return boolean

isEnabled() public method

public isEnabled ( ) : boolean
return boolean

matchConnectLine() protected method

protected matchConnectLine ( string $line ) : string[]
$line string
return string[]

Property Details

$mageScript protected property

protected string $mageScript
return string