PHP Class N98\Magento\Command\Developer\Ide\PhpStorm\MetaCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
ファイルを表示 Open project: netz98/n98-magerun

Protected Properties

Property Type Description
$groupFactories array List of supported static factory methods
$groups array
$missingHelperDefinitionModules array

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void
getClassIdentifier ( Symfony\Component\Finder\SplFileInfo $file, string $classPrefix, string $group = '' ) : string
getClassMapForGroup ( string $group, Symfony\Component\Console\Output\OutputInterface $output ) : array
getGroupXmlDefinition ( string $group ) : Mage_Core_Model_Config_Element
getRealClassname ( Symfony\Component\Finder\SplFileInfo $file, string $classPrefix ) : string
getResourceHelperMap ( ) : array Resource helper is always one per module for each db type and uses model alias
isClassDefinedInFile ( Symfony\Component\Finder\SplFileInfo $file, string $className, Symfony\Component\Console\Output\OutputInterface $output ) : boolean Verify whether given class is defined in given file because there is no sense in adding class with incorrect file or path. Examples: app/code/core/Mage/Core/Model/Mysql4/Design/Theme/Collection.php -> Mage_Core_Model_Mysql4_Design_Theme app/code/core/Mage/Payment/Model/Paygate/Request.php -> Mage_Paygate_Model_Authorizenet_Request app/code/core/Mage/Dataflow/Model/Convert/Iterator.php -> Mage_Dataflow_Model_Session_Adapter_Iterator
writeToOutput ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $classMaps )

Method Details

configure() protected method

protected configure ( )

execute() protected method

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

getClassIdentifier() protected method

protected getClassIdentifier ( Symfony\Component\Finder\SplFileInfo $file, string $classPrefix, string $group = '' ) : string
$file Symfony\Component\Finder\SplFileInfo
$classPrefix string
$group string
return string

getClassMapForGroup() protected method

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

getGroupXmlDefinition() protected method

protected getGroupXmlDefinition ( string $group ) : Mage_Core_Model_Config_Element
$group string
return Mage_Core_Model_Config_Element

getRealClassname() protected method

protected getRealClassname ( Symfony\Component\Finder\SplFileInfo $file, string $classPrefix ) : string
$file Symfony\Component\Finder\SplFileInfo
$classPrefix string
return string

getResourceHelperMap() protected method

Resource helper is always one per module for each db type and uses model alias
protected getResourceHelperMap ( ) : array
return array

isClassDefinedInFile() protected method

Verify whether given class is defined in given file because there is no sense in adding class with incorrect file or path. Examples: app/code/core/Mage/Core/Model/Mysql4/Design/Theme/Collection.php -> Mage_Core_Model_Mysql4_Design_Theme app/code/core/Mage/Payment/Model/Paygate/Request.php -> Mage_Paygate_Model_Authorizenet_Request app/code/core/Mage/Dataflow/Model/Convert/Iterator.php -> Mage_Dataflow_Model_Session_Adapter_Iterator
protected isClassDefinedInFile ( Symfony\Component\Finder\SplFileInfo $file, string $className, Symfony\Component\Console\Output\OutputInterface $output ) : boolean
$file Symfony\Component\Finder\SplFileInfo
$className string
$output Symfony\Component\Console\Output\OutputInterface
return boolean

writeToOutput() protected method

protected writeToOutput ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $classMaps )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$classMaps

Property Details

$groupFactories protected_oe property

List of supported static factory methods
protected array $groupFactories
return array

$groups protected_oe property

protected array $groups
return array

$missingHelperDefinitionModules protected_oe property

protected array $missingHelperDefinitionModules
return array