Task/Generate/ComponentCollector.php
protected function debug($chain, $message, $indent_char = ' ') {
    if (!self::DEBUG) {
      return;
    }

    dump(str_repeat($indent_char, count($chain)) . ' ' . implode(':', $chain) . ': ' . $message);
  }
protected function debug($chain, $message, $indent_char = ' ') {
    if (!self::DEBUG) {
      return;
    }

    dump(str_repeat($indent_char, count($chain)) . ' ' . implode(':', $chain) . ': ' . $message);
  }
protected function debug ( $ chain , $ message , $ indent_char = ' ' ) { if ( ! self :: DEBUG ) { return ; } dump ( str_repeat ( $ indent_char , count ( $ chain ) ) . ' ' . implode ( ':' , $ chain ) . ': ' . $ message ) ; }
Output debug message, with indentation for the current iteration.

@param string[] $chain
The current chain of component names.
@param string $message
A message to output.
Output debug message with indentation for the current iteration .