You are here

public function AvatarBase::getHostName in Avatar Kit 8

Gets the request host name.

Return value

string A host name.

Overrides AvatarBaseInterface::getHostName

3 calls to AvatarBase::getHostName()
Adorable::getHostName in avatars_adorable/src/Adorable.php
Gets the request host name.
Gravatar::getHostName in avatars_gravatar/src/Gravatar.php
Gets the request host name.
Robohash::getHostName in avatars_robohash/src/Robohash.php
Gets the request host name.
3 methods override AvatarBase::getHostName()
Adorable::getHostName in avatars_adorable/src/Adorable.php
Gets the request host name.
Gravatar::getHostName in avatars_gravatar/src/Gravatar.php
Gets the request host name.
Robohash::getHostName in avatars_robohash/src/Robohash.php
Gets the request host name.

File

src/AvatarBase.php, line 94

Class

AvatarBase
Abstract class for Avatar APIs.

Namespace

Drupal\avatars

Code

public function getHostName() {
  return $this->hostname;
}