-
-
Save tsh-code/2ba38ac571bee8ae58312b4ee90d465d to your computer and use it in GitHub Desktop.
First attempt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//.... | |
$action = DocumentSigningAction::create($doc); | |
/** @var \Psr\Http\Message\ResponseInterface $response */ | |
$response = $action->execute(); | |
if ($response->getStatusCode() !== 200) { | |
throw new SigningException("Could not sign document"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment