프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 |
메소드 | 설명 | |
---|---|---|
__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 ) |
메소드 | 설명 | |
---|---|---|
_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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string |
protected _checkSkipConfigOption ( Symfony\Component\Console\Input\InputInterface $input ) : boolean | ||
$input | Symfony\Component\Console\Input\InputInterface | |
리턴 | boolean |
protected _initMagento1 ( boolean $soft = false ) : void | ||
$soft | boolean | |
리턴 | void |
public add ( |
||
$command | ||
리턴 |
protected checkConfigCommandAlias ( Symfony\Component\Console\Input\InputInterface $input ) : Symfony\Component\Console\Input\ArgvInput | Symfony\Component\Console\Input\InputInterface | ||
$input | Symfony\Component\Console\Input\InputInterface | |
리턴 | 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 | |
리턴 | 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] |
리턴 | 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 |
리턴 | integer | 0 if everything went fine, or an error code |
public getAutoloader ( ) : Composer\Autoload\ClassLoader | ||
리턴 | Composer\Autoload\ClassLoader |
public getConfigurationLoader ( array $initConfig, Symfony\Component\Console\Output\OutputInterface $output ) : |
||
$initConfig | array | |
$output | Symfony\Component\Console\Output\OutputInterface | |
리턴 |
protected getDefaultInputDefinition ( ) : Symfony\Component\Console\Input\InputDefinition | ||
리턴 | Symfony\Component\Console\Input\InputDefinition |
public getDispatcher ( ) : |
||
리턴 |
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] |
리턴 | void |
public initMagento ( boolean $soft = false ) : boolean | ||
$soft | boolean | |
리턴 | boolean | false if magento root folder is not set, true otherwise |
protected isCommandDisabled ( string $class ) : boolean | ||
$class | string | |
리턴 | boolean |
protected registerConfigCommandAlias ( |
||
$command |
protected registerCustomAutoloaders ( ) |
protected registerHelpers ( ) : void | ||
리턴 | 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 | ||
리턴 | boolean |
protected EntryPoint,Magento\Mtf\EntryPoint $_magento2EntryPoint | ||
리턴 | Magento\Mtf\EntryPoint\EntryPoint |
protected ClassLoader,Composer\Autoload $autoloader | ||
리턴 | Composer\Autoload\ClassLoader |
protected Config,N98\Magento\Application $config | ||
리턴 |