public function getAvatar($size = self::AVATAR_SIZE_DEFAULT)
    {
        $avatar = $this->getImage(self::KEY_AVATAR, $size, $size);
        if (empty($avatar)) {
            return static::getUrlAvatar($size);
        }
        return $avatar;
    }
public function getAvatar($size = self::AVATAR_SIZE_DEFAULT)
    {
        $avatar = $this->getImage(self::KEY_AVATAR, $size, $size);
        if (empty($avatar)) {
            return static::getUrlAvatar($size);
        }
        return $avatar;
    }
public function getAvatar ( $ size = self :: AVATAR_SIZE_DEFAULT ) { $ avatar = $ this -> getImage ( self :: KEY_AVATAR , $ size , $ size ) ; if ( empty ( $ avatar ) ) { return static :: getUrlAvatar ( $ size ) ; } return $ avatar ; }
Return the URL with the avatar from the User

@param integer $size
@return string
Return the URL with the avatar from the User