public function getDomain($realDomain = false)
    {
        if ($realDomain) {
            return $this->getMap($this->getActive(), 'domain') ?: $this->domain;
        }

        return $this->domain;
    }