PHP Class StackFormation\Command\Stack\TreeCommand

Inheritance: extends StackFormation\Command\AbstractCommand
Show file Open project: aoepeople/stackformation

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
flatternTree ( array $treeIn ) : array flattern tree to gain a better overview
prepareTree ( array $arr ) : array prepare stack list
renderNode ( string $tree, integer $depth, integer $cap ) render tree node

Method Details

configure() protected method

protected configure ( )

execute() protected method

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

flatternTree() protected method

flattern tree to gain a better overview
protected flatternTree ( array $treeIn ) : array
$treeIn array
return array

prepareTree() protected method

prepare stack list
protected prepareTree ( array $arr ) : array
$arr array
return array

renderNode() protected method

render tree node
protected renderNode ( string $tree, integer $depth, integer $cap )
$tree string
$depth integer
$cap integer