Fetch the avatar image.
public fetchAvatar ( string $mail, mixed $opts = [] ) : resource | ||
string | The mail address. | |
$opts | mixed | Additional options. See getAvatarUrl(). |
return | resource | The image as stream resource, or null if the server returned an error. |