private function processCategory(array $element, $parent = null)
    {
        if ($this->isMasterCategory($element)) {
            $this->createCategory($element, MasterCategoryElement::class, $this->parseResult);
        }

        if ($this->isResourceGroup($element)) {
            $this->createCategory($element, ResourceGroupElement::class, $parent);
        }

        if ($this->isDataStructureCategory($element)) {
            $this->createCategory($element, DataStructureCategoryElement::class, $parent);
        }
    }
private function processCategory(array $element, $parent = null)
    {
        if ($this->isMasterCategory($element)) {
            $this->createCategory($element, MasterCategoryElement::class, $this->parseResult);
        }

        if ($this->isResourceGroup($element)) {
            $this->createCategory($element, ResourceGroupElement::class, $parent);
        }

        if ($this->isDataStructureCategory($element)) {
            $this->createCategory($element, DataStructureCategoryElement::class, $parent);
        }
    }
private function processCategory ( array $ element , $ parent = null ) { if ( $ this -> isMasterCategory ( $ element ) ) { $ this -> createCategory ( $ element , MasterCategoryElement :: class , $ this -> parseResult ) ; } if ( $ this -> isResourceGroup ( $ element ) ) { $ this -> createCategory ( $ element , ResourceGroupElement :: class , $ parent ) ; } if ( $ this -> isDataStructureCategory ( $ element ) ) { $ this -> createCategory ( $ element , DataStructureCategoryElement :: class , $ parent ) ; } }
Helper to create different php classes from element `category` which carries its actual meaning in its classes

@param array $element
@param null|BaseElement $parent
Helper to create different php classes from element category which carries its actual meaning in its classes