Classes/TcaDataGenerator/RecordFinder.php
public function findDemoFolderObject(): Folder
    {
        /** @var StorageRepository $storageRepository */
        $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
        $storage = $storageRepository->findByUid(1);
        $folder = $storage->getRootLevelFolder();
        return $folder->getSubfolder('styleguide');
    }
public function findDemoFolderObject(): Folder
    {
        /** @var StorageRepository $storageRepository */
        $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
        $storage = $storageRepository->findByUid(1);
        $folder = $storage->getRootLevelFolder();
        return $folder->getSubfolder('styleguide');
    }
public function findDemoFolderObject ( ) : Folder { /** @var StorageRepository $storageRepository */ $ storageRepository = GeneralUtility :: makeInstance ( StorageRepository :: class ) ; $ storage = $ storageRepository -> findByUid ( 1 ) ; $ folder = $ storage -> getRootLevelFolder ( ) ; return $ folder -> getSubfolder ( 'styleguide' ) ; }
Find the demo folder

@return Folder
Find the demo folder