final class MailboxListHeader extends AbstractHeader
{ private array
$addresses =
[];
/**
* @param Address[] $addresses
*/
public function __construct(string
$name, array
$addresses) { parent::
__construct($name);
$this->
setAddresses($addresses);
} /**
* @param Address[] $body
*
* @throws RfcComplianceException
*/
public function setBody(mixed
$body): void
{ $this->
setAddresses($body);
}