Property | Type | Description | |
---|---|---|---|
$_directRootDir | boolean | If root dir is set by root-dir option this flag is true | |
$_isInitialized | boolean | ||
$_isPharMode | boolean | ||
$_magento2EntryPoint | Magento\Mtf\EntryPoint\EntryPoint | ||
$_magentoDetected | boolean | ||
$_magentoEnterprise | boolean | ||
$_magentoMajorVersion | integer | ||
$_magentoRootFolder | string | ||
$_magerunStopFileFolder | string | ||
$_magerunStopFileFound | boolean | ||
$autoloader | Composer\Autoload\ClassLoader | ||
$config | |||
$dispatcher |
Method | Description | |
---|---|---|
__construct ( Composer\Autoload\ClassLoader $autoloader = null ) | ||
add ( |
Override standard command registration. We want alias support. | |
checkVarDir ( Symfony\Component\Console\Output\OutputInterface $output ) : null | false | ||
detectMagento ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : void | Search for magento root folder | |
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | Runs the current application with possible command aliases | |
getAutoloader ( ) : Composer\Autoload\ClassLoader | ||
getConfig ( string | integer $key = null ) : array | null | Get config array | |
getConfigurationLoader ( array $initConfig, Symfony\Component\Console\Output\OutputInterface $output ) : |
||
getDispatcher ( ) : |
||
getHelp ( ) : string | ||
getLongVersion ( ) | ||
getMagentoMajorVersion ( ) : integer | ||
getMagentoRootFolder ( ) : string | ||
init ( array $initConfig = [], Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : void | ||
initMagento ( boolean $soft = false ) : boolean | Loads and initializes the Magento application | |
isMagentoEnterprise ( ) : boolean | ||
isMagerunStopFileFound ( ) : boolean | ||
isPharMode ( ) : boolean | ||
reinit ( array $initConfig = [], Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) | ||
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer | ||
setAutoloader ( Composer\Autoload\ClassLoader $autoloader ) | ||
setConfig ( array $config ) | ||
setConfigurationLoader ( |
||
setMagentoRootFolder ( string $magentoRootFolder ) | ||
setPharMode ( boolean $mode ) |
Method | Description | |
---|---|---|
_addOutputStyles ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
_checkRootDirOption ( Symfony\Component\Console\Input\InputInterface $input ) : string | ||
_checkSkipConfigOption ( Symfony\Component\Console\Input\InputInterface $input ) : boolean | ||
_initMagento1 ( boolean $soft = false ) : void | ||
_initMagento2 ( ) : void | ||
checkConfigCommandAlias ( Symfony\Component\Console\Input\InputInterface $input ) : Symfony\Component\Console\Input\ArgvInput | Symfony\Component\Console\Input\InputInterface | ||
getDefaultInputDefinition ( ) : Symfony\Component\Console\Input\InputDefinition | ||
hasCustomCommands ( ) : boolean | ||
isCommandDisabled ( string $class ) : boolean | ||
registerConfigCommandAlias ( |
||
registerCustomAutoloaders ( ) | Adds autoloader prefixes from user's config | |
registerCustomCommands ( ) : void | ||
registerEventSubscribers ( ) : void | ||
registerHelpers ( ) : void | Add own helpers to helperset. |
Method | Description | |
---|---|---|
outputMagerunCompatibilityNotice ( string $version ) | Show a hint that this is Magento incompatible with Magerun and how to obtain the correct Magerun for it | |
requireOnce ( string $path ) | use require-once inside a function with it's own variable scope w/o any other variables and $this unbound. | |
setRootDir ( string $path ) | Set root dir (chdir()) of magento directory |
public __construct ( Composer\Autoload\ClassLoader $autoloader = null ) | ||
$autoloader | Composer\Autoload\ClassLoader |
protected _addOutputStyles ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected _checkRootDirOption ( Symfony\Component\Console\Input\InputInterface $input ) : string | ||
$input | Symfony\Component\Console\Input\InputInterface | |
return | string |
protected _checkSkipConfigOption ( Symfony\Component\Console\Input\InputInterface $input ) : boolean | ||
$input | Symfony\Component\Console\Input\InputInterface | |
return | boolean |
protected _initMagento1 ( boolean $soft = false ) : void | ||
$soft | boolean | |
return | void |
public add ( |
||
$command | ||
return |
protected checkConfigCommandAlias ( Symfony\Component\Console\Input\InputInterface $input ) : Symfony\Component\Console\Input\ArgvInput | Symfony\Component\Console\Input\InputInterface | ||
$input | Symfony\Component\Console\Input\InputInterface | |
return | Symfony\Component\Console\Input\ArgvInput | Symfony\Component\Console\Input\InputInterface |
public checkVarDir ( Symfony\Component\Console\Output\OutputInterface $output ) : null | false | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
return | null | false |
public detectMagento ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : void | ||
$input | Symfony\Component\Console\Input\InputInterface | [optional] |
$output | Symfony\Component\Console\Output\OutputInterface | [optional] |
return | void |
public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | ||
$input | Symfony\Component\Console\Input\InputInterface | An Input instance |
$output | Symfony\Component\Console\Output\OutputInterface | An Output instance |
return | integer | 0 if everything went fine, or an error code |
public getAutoloader ( ) : Composer\Autoload\ClassLoader | ||
return | Composer\Autoload\ClassLoader |
public getConfigurationLoader ( array $initConfig, Symfony\Component\Console\Output\OutputInterface $output ) : |
||
$initConfig | array | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return |
protected getDefaultInputDefinition ( ) : Symfony\Component\Console\Input\InputDefinition | ||
return | Symfony\Component\Console\Input\InputDefinition |
public getDispatcher ( ) : |
||
return |
public init ( array $initConfig = [], Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : void | ||
$initConfig | array | [optional] |
$input | Symfony\Component\Console\Input\InputInterface | [optional] |
$output | Symfony\Component\Console\Output\OutputInterface | [optional] |
return | void |
public initMagento ( boolean $soft = false ) : boolean | ||
$soft | boolean | |
return | boolean | false if magento root folder is not set, true otherwise |
protected isCommandDisabled ( string $class ) : boolean | ||
$class | string | |
return | boolean |
protected registerConfigCommandAlias ( |
||
$command |
protected registerCustomAutoloaders ( ) |
protected registerEventSubscribers ( ) : void | ||
return | void |
protected registerHelpers ( ) : void | ||
return | void |
public reinit ( array $initConfig = [], Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) | ||
$initConfig | array | [optional] |
$input | Symfony\Component\Console\Input\InputInterface | [optional] |
$output | Symfony\Component\Console\Output\OutputInterface | [optional] |
public setAutoloader ( Composer\Autoload\ClassLoader $autoloader ) | ||
$autoloader | Composer\Autoload\ClassLoader |
public setConfigurationLoader ( |
||
$configurationLoader |
public setMagentoRootFolder ( string $magentoRootFolder ) | ||
$magentoRootFolder | string |
protected bool $_directRootDir | ||
return | boolean |
protected EntryPoint,Magento\Mtf\EntryPoint $_magento2EntryPoint | ||
return | Magento\Mtf\EntryPoint\EntryPoint |
protected string $_magerunStopFileFolder | ||
return | string |
protected ClassLoader,Composer\Autoload $autoloader | ||
return | Composer\Autoload\ClassLoader |
protected Config,N98\Magento\Application $config | ||
return |