| 1 | <?php |
||
| 5 | class SingleEmail extends Resource |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Send an email designed and maintained in the HubSpot marketing Email Tool. |
||
| 9 | * |
||
| 10 | * @see http://developers.hubspot.com/docs/methods/email/transactional_email/single-send-overview |
||
| 11 | * |
||
| 12 | * @param int $id |
||
| 13 | * @param array $message |
||
| 14 | * @param array $contactProperties |
||
| 15 | * @param array $customProperties |
||
| 16 | * @return \SevenShores\Hubspot\Http\Response |
||
| 17 | */ |
||
| 18 | function send($id, $message = [], $contactProperties = [], $customProperties = []) |
||
| 31 | } |
||
| 32 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.