src/Parser/RefractParser.php
private function createCategory(array $element, $className, BaseElement $parent)
    {
        $newElement = new $className($element);
        $parent->addContentElement($newElement);
        $this->iterate($element['content'], $newElement);
    }
private function createCategory(array $element, $className, BaseElement $parent)
    {
        $newElement = new $className($element);
        $parent->addContentElement($newElement);
        $this->iterate($element['content'], $newElement);
    }
private function createCategory ( array $ element , $ className , BaseElement $ parent ) { $ newElement = new $ className ( $ element ) ; $ parent -> addContentElement ( $ newElement ) ; $ this -> iterate ( $ element [ 'content' ] , $ newElement ) ; }
Sub-helper for `processCategory`

@param array $element
@param string $className
@param BaseElement $parent
Sub - helper for processCategory