public function getHost() { if (self::$host === null) { self::$host = self::getRequestHost(); } return self::$host; }