PHP Class N98\Magento\Command\Developer\Module\Dependencies\AbstractCommand

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

Protected Properties

Property Type Description
$modules array Array of magento modules found in config

Protected Methods

Method Description
configure ( ) Configure command
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void
findModuleDependencies ( string $moduleName, boolean $recursive = false ) : array Find dependencies of given module $moduleName.

Private Methods

Method Description
sortDependencies ( array $a, array $b ) : integer Sort dependencies list by module name ascending

Method Details

configure() protected method

Configure command
protected configure ( )

execute() protected method

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

findModuleDependencies() abstract protected method

If $recursive = true, dependencies will be collected recursively for all module dependencies
abstract protected findModuleDependencies ( string $moduleName, boolean $recursive = false ) : array
$moduleName string
$recursive boolean [optional]
return array

Property Details

$modules protected_oe property

Array of magento modules found in config
protected array $modules
return array