public function rating($sRating = null)
    {
        if (null === $sRating) {
            return $this->getMaxRating();
        }

        return $this->setMaxRating($sRating);
    }
public function rating($sRating = null)
    {
        if (null === $sRating) {
            return $this->getMaxRating();
        }

        return $this->setMaxRating($sRating);
    }
public function rating ( $ sRating = null ) { if ( null === $ sRating ) { return $ this -> getMaxRating ( ) ; } return $ this -> setMaxRating ( $ sRating ) ; }
Get or set the maximum allowed rating for avatars.

@param string $sRating
@return string|\forxer\Gravatar\Image
Get or set the maximum allowed rating for avatars .