You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$document->upload($start, $end, $data); // returns the document object.
383
383
```
384
384
385
385
Note no verification of data takes place - an exception wil be raised if values do not match appropriately.
@@ -402,7 +402,7 @@ $document->uri;
402
402
403
403
### Cancel document
404
404
405
-
`$document->cancel();`
405
+
`$document->cancel(); //returns the $document instance`
406
406
407
407
Can be done prior to completion or afterward
408
408
@@ -415,11 +415,13 @@ The `Interfax\Outbound\Fax` class wraps the details of any fax sent, and is retu
415
415
It offers several methods to manage or retrieve information about the fax.
416
416
417
417
```php
418
+
// fluent methods that return the $fax instance
418
419
$fax->refresh(); // refreshes the data on the fax object
419
420
$fax->cancel(); // cancel the fax, returns true on success
421
+
$fax->hide(); // hides the faxes from the fax lists
422
+
420
423
$image = $fax->image(); // returns Interfax\Image
421
424
$new_fax = $fax->resend('+1111111'); // returns a new Interfax\Outbound\Fax
422
-
$fax->hide();
423
425
$fax->attributes(); // hash array of fax data properties - see details below
424
426
```
425
427
@@ -452,10 +454,12 @@ Status should always be available. The values of the status codes are [Documente
452
454
The incoming equivalent of the outbound fax class, the ```Interfax\Inbound\Fax``` class wraps the details of any incoming fax, and is returned by the ```Interfax\Inbound``` methods where appropriate.
453
455
454
456
```php
457
+
// fluent methods that return the $fax instance for method chaining
455
458
$fax->refresh(); // reload properties of the inbound fax
456
459
$fax->markRead(); // mark the fax read - returns true or throws exception
457
460
$fax->markUnread(); // mark the fax unread - returns true or throws exception
458
461
$fax->resend();
462
+
459
463
$image = $fax->image(); // Returns a Interfax\Image for this fax
460
464
$email_array = $fax->emails(); // see below for details on the structure of this array
0 commit comments