Esempio n. 1
0
 /**
  * getSiteFromRequest
  *
  * @param RequestInterface $request
  *
  * @return void
  */
 public function getSiteFromRequest(RequestInterface $request)
 {
     $domain = PhpServer::getDomainFormHost($request->getUri()->getHost());
     $this->siteService->getSite($domain);
 }