hash = $hash; $this->encoded = $encoded; } /** @deprecated Deprecated since v4.3 */ public static function fromEmptyData(): self { return new self('', ''); } public function hash(): string { return $this->hash; } /** * Returns the encoded version of the signature */ public function toString(): string { return $this->encoded; } }