class SitemapHandleFactory implements SitemapHandleFactoryInterface
{
/**
* @internal
*/
public function __construct(private readonly EventDispatcherInterface $eventDispatcher)
{
}
public function create(FilesystemOperator $filesystem, SalesChannelContext $context, ?string $domain = null): SitemapHandleInterface
{
return new SitemapHandle($filesystem, $context, $this->eventDispatcher, $domain);
}
}