From c4ccfd7310b3816ddf9ac0b58da6bcfd5248a7ee Mon Sep 17 00:00:00 2001 From: Thifaine Noirault Date: Fri, 29 May 2020 15:53:43 +0200 Subject: [PATCH] feat: add attachments method --- src/BluescaleMailTemplate.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/BluescaleMailTemplate.php b/src/BluescaleMailTemplate.php index aa63a8f..5f3f3fe 100644 --- a/src/BluescaleMailTemplate.php +++ b/src/BluescaleMailTemplate.php @@ -144,6 +144,16 @@ class BluescaleMailTemplate implements \JsonSerializable } /** + * @param array $attachments + * @return BluescaleMailTemplate + */ + public function attachments(array $attachments): BluescaleMailTemplate + { + $this->attachments = $attachments; + return $this; + } + + /** * @param string $key * @param string $value * @return BluescaleMailTemplate