public function setHash( $key = null ) {
		$key = $key ? $this->sanitizeKey( $key ) : $this->getKey();
		return $this->hash = $this->hashKey( $key );
	}
public function setHash( $key = null ) {
		$key = $key ? $this->sanitizeKey( $key ) : $this->getKey();
		return $this->hash = $this->hashKey( $key );
	}
public function setHash ( $ key = null ) { $ key = $ key ? $ this -> sanitizeKey ( $ key ) : $ this -> getKey ( ) ; return $ this -> hash = $ this -> hashKey ( $ key ) ; }
Sets the hash class property.

@since  1.0.0

@param  string $key API key to get hash of.

@return object
Sets the hash class property .