public function licenseAction(Request $request, $repository, $format='svg')
    {
        $this->useCase = $this->container->get('use_case_badge_license');
        $this->imageFactory = $this->container->get('image_factory');

        if (in_array($request->query->get('format'), $this->container->get('poser')->validFormats())) {
            $format = $request->query->get('format');
        }

        $badge = $this->useCase->createLicenseBadge($repository, $format);
        $image = $this->imageFactory->createFromBadge($badge);

        return ResponseFactory::createFromImage($image, 200);
    }