Get the client's base URL as either an expanded or raw URI template
bool $expand Set to FALSE to get the raw base URL without URI template expansion:
string|null
public function getBaseUrl($expand = true);