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

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
显示文件 Open project: netz98/n98-magerun

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | 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

protected configure ( )

execute() protected method

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

findModuleDependencies() protected method

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