url = $url; return $this; } public function getBaseUrl($raw = false) { if (self::$baseUrl === null) { throw new RuntimeException('Cannot determine base URL on CLI if not configured'); } else { return self::$baseUrl; } } }