/** * @param $port int The port number to use when constructing URLs */ public static function setSelfPort($port) { self::$_port = $port; }