PHP Class N98\Magento\Command\ScriptCommand

Inheritance: extends AbstractMagentoCommand
Datei anzeigen Open project: netz98/n98-magerun

Protected Properties

Property Type Description
$_scriptFilename string
$_stopOnError boolean
$scriptVars array

Public Methods

Method Description
isEnabled ( ) : boolean

Protected Methods

Method Description
_getContent ( string $filename ) : string
_initDefines ( Symfony\Component\Console\Input\InputInterface $input )
_prepareShellCommand ( string $commandString ) : string
_replaceScriptVars ( string $commandString ) : string
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
initScriptVars ( )
registerVariable ( Symfony\Component\Console\Output\OutputInterface $output, string $commandString ) : void
runMagerunCommand ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $commandString )
runShellCommand ( Symfony\Component\Console\Output\OutputInterface $output, string $commandString )

Method Details

_getContent() protected method

protected _getContent ( string $filename ) : string
$filename string
return string

_initDefines() protected method

protected _initDefines ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

_prepareShellCommand() protected method

protected _prepareShellCommand ( string $commandString ) : string
$commandString string
return string

_replaceScriptVars() protected method

protected _replaceScriptVars ( string $commandString ) : string
$commandString string
return string

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

initScriptVars() protected method

protected initScriptVars ( )

isEnabled() public method

public isEnabled ( ) : boolean
return boolean

registerVariable() protected method

protected registerVariable ( Symfony\Component\Console\Output\OutputInterface $output, string $commandString ) : void
$output Symfony\Component\Console\Output\OutputInterface
$commandString string
return void

runMagerunCommand() protected method

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

runShellCommand() protected method

protected runShellCommand ( Symfony\Component\Console\Output\OutputInterface $output, string $commandString )
$output Symfony\Component\Console\Output\OutputInterface
$commandString string

Property Details

$_scriptFilename protected_oe property

protected string $_scriptFilename
return string

$_stopOnError protected_oe property

protected bool $_stopOnError
return boolean

$scriptVars protected_oe property

protected array $scriptVars
return array