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])
                ));
            }
        }
    }