Skip to content

Commit

Permalink
samples
Browse files Browse the repository at this point in the history
  • Loading branch information
maztch committed May 26, 2017
1 parent 8ed250c commit c11a128
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ $myTask->execute();
$myTask->download();
```

## Samples

See samples folder.

## Documentation

Please see https://developer.ilovepdf.com/docs for up-to-date documentation.
4 changes: 2 additions & 2 deletions samples/validatepdfa_advanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
$file->setConformance('pdfa-2a');

// process files
$result = $myTask->execute();
$myTask->execute();

foreach($result->validations as $file){
foreach($myTask->result->validations as $file){
var_dump($file);
}
4 changes: 2 additions & 2 deletions samples/validatepdfa_basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
$file = $myTask->addFile('/path/to/file/document.pdf');

// process files
$result = $myTask->execute();
$myTask->execute();

foreach($result->validations as $file){
foreach($myTask->result->validations as $file){
var_dump($file);
}

0 comments on commit c11a128

Please sign in to comment.