public function __toString() : string { $data = implode('.', $this->payload); if ($this->signature === null) { $data .= '.'; } return $data; }