public function setFormat($format = null)
    {
        if ( ! is_null($format)) {
            self::checkFormat($format);
            $this->format = $format;
        }

        return $this;
    }
public function setFormat($format = null)
    {
        if ( ! is_null($format)) {
            self::checkFormat($format);
            $this->format = $format;
        }

        return $this;
    }
public function setFormat ( $ format = null ) { if ( ! is_null ( $ format ) ) { self :: checkFormat ( $ format ) ; $ this -> format = $ format ; } return $ this ; }
Set the profile's format.

@param  string  $format

@return \Arcanedev\Gravatar\Profile
Set the profile s format .