Created
April 27, 2019 18:05
-
-
Save szyku-tsh/1810ae187c5c89370ba0998a66a58b67 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