src/Transfer/Console/Command/Manifest/DescribeCommand.php
private function describeComponents($components, $name, OutputInterface $output, $depth = 0)
    {
        if (is_array($components)) {
            $output->writeln(sprintf('%s<comment>%s</comment>', str_repeat(' ', $depth), $name));

            foreach ($components as $component) {
                $output->writeln(sprintf(
                    '%s%s',
                    str_repeat(' ', $depth + 4),
                    is_object($component) ? get_class($component) : get_class($component[0])
                ));
            }
        }
    }
private function describeComponents($components, $name, OutputInterface $output, $depth = 0)
    {
        if (is_array($components)) {
            $output->writeln(sprintf('%s<comment>%s</comment>', str_repeat(' ', $depth), $name));

            foreach ($components as $component) {
                $output->writeln(sprintf(
                    '%s%s',
                    str_repeat(' ', $depth + 4),
                    is_object($component) ? get_class($component) : get_class($component[0])
                ));
            }
        }
    }
private function describeComponents ( $ components , $ name , OutputInterface $ output , $ depth = 0 ) { if ( is_array ( $ components ) ) { $ output -> writeln ( sprintf ( '%s<comment>%s</comment>' , str_repeat ( ' ' , $ depth ) , $ name ) ) ; foreach ( $ components as $ component ) { $ output -> writeln ( sprintf ( '%s%s' , str_repeat ( ' ' , $ depth + 4 ) , is_object ( $ component ) ? get_class ( $ component ) : get_class ( $ component [ 0 ] ) ) ) ; } } }
Describes components.

@param array           $components Components
@param string          $name       Component type
@param OutputInterface $output     Console output handle
@param int             $depth      Current depth
Describes components .