original_string: private function createCategory(array $element, $className, BaseElement $parent)
      {
          $newElement = new $className($element);
          $parent->addContentElement($newElement);
          $this->iterate($element['content'], $newElement);
      }
code: private function createCategory(array $element, $className, BaseElement $parent)
      {
          $newElement = new $className($element);
          $parent->addContentElement($newElement);
          $this->iterate($element['content'], $newElement);
      }
code_tokens: private function createCategory ( array $ element , $ className , BaseElement $ parent ) { $ newElement = new $ className ( $ element ) ; $ parent -> addContentElement ( $ newElement ) ; $ this -> iterate ( $ element [ 'content' ] , $ newElement ) ; }
docstring: Sub-helper for `processCategory`
  
  @param array $element
  @param string $className
  @param BaseElement $parent
docstring_tokens: Sub - helper for processCategory