1 | #!/usr/bin/php -f |
||
2 | <?php |
||
3 | /** |
||
4 | * FlexiPeeHP - Example how to dry-run request |
||
5 | * |
||
6 | * @author Vítězslav Dvořák <[email protected]> |
||
7 | * @copyright (G) 2018 Vitex Software |
||
8 | */ |
||
9 | |||
10 | namespace Example\FlexiPeeHP; |
||
11 | |||
12 | include_once './config.php'; |
||
13 | include_once '../vendor/autoload.php'; |
||
14 | |||
15 | |||
16 | $invoice = new \FlexiPeeHP\FakturaVydana(); |
||
17 | |||
18 | $invoice->defaultUrlParams['dry-run'] = 'true'; |
||
19 | |||
20 | $resultHere = $invoice->insertToFlexiBee(['typDokl' => 'code:FAKTURA']); |
||
0 ignored issues
–
show
|
|||
21 | |||
22 | echo json_encode($resultHere, JSON_PRETTY_PRINT);; |
||
23 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.