private function loadLayouts(array $layoutIds): Generator
    {
        foreach ($layoutIds as $layoutId) {
            try {
                yield $this->layoutService->loadLayout($layoutId);
            } catch (NotFoundException $e) {
                continue;
            }
        }
    }