/**
  * @param Domain $domain
  * @param Request $request
  *
  * @return array
  */
 protected function buildSitemapLinks(Domain $domain, Request $request)
 {
     $links = [];
     if (!$domain->hasYearSpecificDomain()) {
         $links[$request->getSchemeAndHttpHost()] = $request->getSchemeAndHttpHost();
     }
     if ($domain->hasYearSpecificDomain()) {
         foreach ($this->months as $key => $value) {
             $links["{$request->getSchemeAndHttpHost()}/{$key}"] = "{$request->getSchemeAndHttpHost()}/{$key}";
         }
     }
     return $links;
 }
 /**
  * @param Domain $domain
  *
  * @return string
  */
 protected function getIndexView(Domain $domain)
 {
     if ($domain->hasYearSpecificDomain()) {
         return 'StefaniusNationalHolidayBundle:YearDomain:index.html.twig';
     }
     return 'StefaniusNationalHolidayBundle:Default:index.html.twig';
 }