Url::sameHost()
Whether two URLs point to the same host
Url::sameHost(string|null $a = null, string|null $b = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $a | stringornull |
null
|
| $b | stringornull |
null
|
Return type
bool
Parent class
Kirby\Cms\Url
inherited from Kirby\Http\Url