function IdentificationHeader::setId
Set the ID used in the value of this header.
Parameters
string|string[] $id:
Throws
2 calls to IdentificationHeader::setId()
- IdentificationHeader::setBody in vendor/
symfony/ mime/ Header/ IdentificationHeader.php - IdentificationHeader::__construct in vendor/
symfony/ mime/ Header/ IdentificationHeader.php
File
-
vendor/
symfony/ mime/ Header/ IdentificationHeader.php, line 56
Class
- IdentificationHeader
- An ID MIME Header for something like Message-ID or Content-ID (one or more addresses).
Namespace
Symfony\Component\Mime\HeaderCode
public function setId(string|array $id) : void {
$this->setIds(\is_array($id) ? $id : [
$id,
]);
}