public function getSiteDomain() { $domain = last(preg_split('~//~', $this->config['url'])); return $domain; }