You are here

public function Gravatar::getRating in Avatar Kit 8

Get the rating.

Return value

string|null The set rating, or NULL if no rating.

Overrides GravatarInterface::getRating

File

avatars_gravatar/src/Gravatar.php, line 146

Class

Gravatar
Implements the Gravatar.com API.

Namespace

Drupal\avatars_gravatar

Code

public function getRating() {
  return $this->rating;
}