$user->apiUrl()
Returns the url to the api endpoint
$user->apiUrl(bool $relative = false): string
Parameters
Name | Type | Default |
---|---|---|
$relative | bool |
false
|
Return type
string
This method modifies the existing $user
object it is applied to and returns it again.