Classes/Console/Install/FolderStructure/ExtensionFactory.php
public function getStructure()
    {
        $structure = $this->getDefaultStructureDefinition();
        $structure['children'] = $this->appendStructureDefinition($structure['children'], $this->createExtensionStructureDefinition($this->packageManager->getActivePackages()));

        return new StructureFacade(new RootNode($structure));
    }
public function getStructure()
    {
        $structure = $this->getDefaultStructureDefinition();
        $structure['children'] = $this->appendStructureDefinition($structure['children'], $this->createExtensionStructureDefinition($this->packageManager->getActivePackages()));

        return new StructureFacade(new RootNode($structure));
    }
Get default structure object hierarchy

@throws \TYPO3\CMS\Install\FolderStructure\Exception\RootNodeException
@throws \TYPO3\CMS\Install\FolderStructure\Exception\InvalidArgumentException
@return StructureFacade