Hoa central
Alternative.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Mail\Content;
38 
47 class Alternative extends Message
48 {
54  const BOUNDARY = '@hoaproject-alternative-';
55 
56 
57 
64  public function __construct(Array $contents = [])
65  {
66  foreach ($contents as $content) {
67  $this->addContent($content);
68  }
69 
70  $this['content-type'] = 'multipart/alternative';
71 
72  return;
73  }
74 }
__construct(Array $contents=[])
Definition: Alternative.php:64
$content
Definition: Hoa.php:119
addContent(Content $content)
Definition: Message.php:87