original_string: protected function newLogger ($name, LoggerInterface $parent) {
      $logger = $parent;
      if ($parent instanceof HierarchialLogger) {
        $logger = new HierarchialLogger($name);
        $logger->setParent($parent);
      }
      return $logger;
    }
code: protected function newLogger ($name, LoggerInterface $parent) {
      $logger = $parent;
      if ($parent instanceof HierarchialLogger) {
        $logger = new HierarchialLogger($name);
        $logger->setParent($parent);
      }
      return $logger;
    }
code_tokens: protected function newLogger ( $ name , LoggerInterface $ parent ) { $ logger = $ parent ; if ( $ parent instanceof HierarchialLogger ) { $ logger = new HierarchialLogger ( $ name ) ; $ logger -> setParent ( $ parent ) ; } return $ logger ; }
docstring: Create a new LoggerInterface instance.
  
  @param string $name Name of new logger
  @param LoggerInterface $parent Closest known ancestor logger
  @return LoggerInterface Logger
docstring_tokens: Create a new LoggerInterface instance .