class Illuminate / Mail / Mailables / Headers
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

Headers

Uses

Properties

public

$messageId string|null

The message's message ID.

Default: null
public

$references array

The message IDs that are referenced by the message.

Default: null
public

$text array

The message's text headers.

Default: null

Methods

public

__construct ( string $messageId , array $references , array $text ) : void

Create a new instance of headers for a message.

Parameters

  • $messageId string|null
  • $references array
  • $text array
public

messageId ( string $messageId ) : $this

Set the message ID.

Parameters

  • $messageId string
public

references ( array $references ) : $this

Set the message IDs referenced by this message.

Parameters

  • $references array
public

text ( array $text ) : $this

Set the headers for this message.

Parameters

  • $references array
public

referencesString ( ) : string

Get the references header as a string.