public function getExtensionStructure(PackageInterface $package)
    {
        $structure = [
            'name' => substr(PATH_site, 0, -1),
            'targetPermission' => $GLOBALS['TYPO3_CONF_VARS']['SYS']['folderCreateMask'],
            'children' => $this->appendStructureDefinition([], $this->createExtensionStructureDefinition([$package])),
        ];

        return new StructureFacade(new RootNode($structure));
    }