public function renderSlideShow($slideShowOrTag, array $options = [])
    {
        if (is_string($slideShowOrTag)) {
            $slideShowOrTag = $this->repository->findOneBy(['tag' => $slideShowOrTag]);
        }
        if (!$slideShowOrTag instanceof SlideShow) {
            throw new \InvalidArgumentException("Expected tag or instance of " . SlideShow::class);
        }

        return $this->renderer->render($slideShowOrTag, $options);
    }