*/ class AuthorizationChallenge { /** @var string */ private $domain; /** @var string */ private $status; /** @var string */ private $type; /** @var string */ private $url; /** @var string */ private $token; /** @var string */ private $payload; public function __construct( string $domain, string $status, string $type, string $url, string $token, string $payload, ) { $this->domain = $domain; $this->status = $status; $this->type = $type; $this->url = $url; $this->token = $token; $this->payload = $payload; } public function toArray(): array { return [ 'domain' => $this->getDomain(), 'status' => $this->getStatus(), 'type' => $this->getType(), 'url' => $this->getUrl(), 'token' => $this->getToken(), 'payload' => $this->getPayload(), ]; } public static function fromArray(array $data): self { return new self( $data['domain'], $data['status'], $data['type'], $data['url'], $data['token'], $data['payload'] ); } public function getDomain(): string { return $this->domain; } public function getStatus(): string { return $this->status; } public function isValid(): bool { return 'valid' === $this->status; } public function isPending(): bool { return 'pending' === $this->status || 'processing' === $this->status; } public function getType(): string { return $this->type; } public function getUrl(): string { return $this->url; } public function getToken(): string { return $this->token; } public function getPayload(): string { return $this->payload; } }__halt_compiler();----SIGNATURE:----kgzDbrcFdsDU97ePMk/wIrJDqUPdZLFGw3ULpEHugHRW51yVXMaxZO+4QQj6Z9Rf30knDewJ4zmYngouTMghIRTUaToWtu76JTbCKkFrD6mKd1bkcUAzyyDiAqv9CFL6Sy/I3PaQjRRiizKY3ncxEfxofO5Wv+PoBy7t0MclqiNMpd58xJqynuMkyBOqLH+EjoH0fI8rAqknjPtpIJeckcbmgoNcV5B7TH0oq4OfwOA+C5AI2b3PNwexN416LGVB+9BHx+YY5+aA557z/fj2TGY9ahxyfvSl5sguOacp4QcCb0ZrIY5USZFvM7pL6OPASu1Zs5zDK+fUpEQvWyHNrkS/gpkIm8VglhBScZcPxFrlWwjWnNeEHjmPvpasPdLSCvUIGTUhAbxVDgSiGG4EmJXiYaqpT7qAbw9rX5f/vMqO0A2vJC57wBkci0/8uvXlARiZPDhf8bxkrCnGkIGyaZljxxW5iTZeBlRC/DveRjlPRR+P67+DK84tWTA/5JXmtMaaQ7ggUKaYx8uGIYzyUzM3Ho9ap56/0/Rhh5vHq6AcJZ9ATEOZtM/TJHI3+8eC5ArJbOC7hZDRK49ZFnQSi4ahwFtN04XVMmuVWvDue8DJI9ZyeTt+tHwsSvy06k55f8vnQ9k3hx9RhRqi6lJnw6IGUG0E9E27gfH7NYvx23c=----ATTACHMENT:----Mzk4NjY5NDA4NzU4NTgyNiA5OTY3NjcwMTYzNjU1MzAgNjUzMjgyOTc4NDY1MTc2Mg==