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

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Afficher le fichier Open project: netz98/n98-magerun

Protected Properties

Свойство Type Description
$groupFactories array List of supported static factory methods
$groups array
$missingHelperDefinitionModules array

Méthodes protégées

Méthode 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 méthode

protected configure ( )

execute() protected méthode

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
Résultat void

getClassIdentifier() protected méthode

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

getClassMapForGroup() protected méthode

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

getGroupXmlDefinition() protected méthode

protected getGroupXmlDefinition ( string $group ) : Mage_Core_Model_Config_Element
$group string
Résultat Mage_Core_Model_Config_Element

getRealClassname() protected méthode

protected getRealClassname ( Symfony\Component\Finder\SplFileInfo $file, string $classPrefix ) : string
$file Symfony\Component\Finder\SplFileInfo
$classPrefix string
Résultat string

getResourceHelperMap() protected méthode

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

isClassDefinedInFile() protected méthode

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
Résultat boolean

writeToOutput() protected méthode

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
Résultat array

$groups protected_oe property

protected array $groups
Résultat array

$missingHelperDefinitionModules protected_oe property

protected array $missingHelperDefinitionModules
Résultat array