/**
* @return Domain
*/
public function findOneByActiveRequest()
{
$matchingDomain = null;
$activeRequestHandler = $this->bootstrap->getActiveRequestHandler();
if ($activeRequestHandler instanceof HttpRequestHandlerInterface) {
$matchingDomain = $this->findOneByHost($activeRequestHandler->getHttpRequest()->getUri()->getHost(), true);
}
return $matchingDomain;
}