$baseUrls =
(array) $baseUrls;
} if (!
$baseUrls) { throw new LogicException('You must provide at least one base URL.'
);
} foreach ($baseUrls as $baseUrl) { $this->baseUrls
[] =
rtrim($baseUrl, '/'
);
} $sslUrls =
$this->
getSslUrls($baseUrls);
if ($sslUrls &&
$baseUrls !==
$sslUrls) { $this->sslPackage =
new self($sslUrls,
$versionStrategy);
} } public function getUrl(string
$path): string
{ if ($this->
isAbsoluteUrl($path)) { return $path;
}