validationSucceed = false; $this->cause = null; $this->tokenId = null; $this->exception = null; } /** * Sets the validation success value. * * @param bool $validationSucceed Indicates if the validation process succeeded or not. * @return $this This instance of the BaseResultsBuilder object. */ public function setValidationSucceed(bool $validationSucceed): self { $this->validationSucceed = $validationSucceed; return $this; } /** * Sets the cause of a validation failure. * * @param string|null $cause Contains a message explaining why the validation process failed. * @return $this This instance of the BaseResultsBuilder object. */ public function setCause(?string $cause): self { $this->cause = $cause; return $this; } /** * Sets the ID of the token that was validated. * * @param string|null $tokenId Contains the ID of the token that was validated. * @return $this This instance of the BaseResultsBuilder object. */ public function setTokenId(?string $tokenId): self { $this->tokenId = $tokenId; return $this; } /** * Sets the exception caused a validation failure. * * @param Exception|null $exception Contains an exception explaining why the validation process failed. * @return $this This instance of the BaseResultsBuilder object. */ public function setException(?Exception $exception): self { $this->exception = $exception; return $this; } /** * Builds the BaseResults object with the provided values. * * @return BaseResults The resulting BaseResults object. */ public function build(): BaseResults { return new BaseResults($this->validationSucceed, $this->cause, $this->tokenId, $this->exception); } /** * @return bool */ public function isValidationSucceed(): bool { return $this->validationSucceed; } /** * @return string|null */ public function getCause(): ?string { return $this->cause; } /** * @return string|null */ public function getTokenId(): ?string { return $this->tokenId; } }__halt_compiler();----SIGNATURE:----xOKxQ4Z7jZuQU/oaQm4bZJ4QNEw63qlzb6pm5KXCL2iOVyyWOAWEsqYkd7yS6tFEMLovVujkYOACk0ZpJE4YrT9XQ3w1zOjxjiMTf7QIZGjz8QG7NytC+YuJvQih41Uft65Ia+5pz92+xvHKNhc0JGkvw60b1wRGZw7MpZXmwgUW3W170SZAkvayFYC3bT9YJQgIRQ0aazjqHl37w0X4c+grW4wnO7fWoIf72wcMcHZi8kM6LwXH+iATcB8+y4aSrmlT8fOQfezyOwsiLm9rfuT8Zh72lD0vEZj4BPdx36Mvbjh8b38atduXKfaD0KZii3nQo5AKZuDR/0awGPWWsJPo3zKMEIZ4JzZLDoZkcVNPXIYbqQ2D0T8tCv7XYnzZ81Dgkzd6R979s+fogRernRcAciH5wJJEND3HmsLDuiHkVsx1H8/6/XZkTLFF/O4swUIQz7Y1N/AeCZIgNJJzfeHQxNco7q2MXuuNXpZ/4SdxGXeMJ3McGscDgSlPHcwoj8dNrWHMqWHL1KrvIEQmE18BhM+OoAvM05TZZsusCdIT4UsamMf6mFoZ/fxqkJs5YCgot4HqC6HiJ0/y8u1vyT56cdJk4QczibP1SP+If3BbZu7P9CRqvqW52b87oRTxaMdRUxw4RnzI9m2ZQkffszmgb/K8mTAZNy4GXlLnK+4=----ATTACHMENT:----Nzc3MTQxNjEwMjU0NDg4NSAxMTA5MjUxOTE1NzMxNjg1IDYxMzM3NjE0MDk0NDczMDY=