Headers

Illuminate\Mail\Mailables\Headers

class src/Illuminate/Mail/Mailables/Headers.php

__construct

v11.0.0 以前から

__construct(?string $messageId = null, array $references = [], array $text = [])
@param string|null $messageId
@param array $references
@param array $text
  1. v11.0.0 追加
    変更後
    __construct(string $messageId = null, array $references = [], array $text = []) [@param string|null $messageId, @param array $references, @param array $text, @return void]
  2. v11.3.0 シグネチャ変更
    変更前
    __construct(string $messageId = null, array $references = [], array $text = []) [@param string|null $messageId, @param array $references, @param array $text, @return void]
    変更後
    __construct(?string $messageId = null, array $references = [], array $text = []) [@param string|null $messageId, @param array $references, @param array $text, @return void]
  3. v12.4.0 シグネチャ変更
    変更前
    __construct(?string $messageId = null, array $references = [], array $text = []) [@param string|null $messageId, @param array $references, @param array $text, @return void]
    変更後
    __construct(?string $messageId = null, array $references = [], array $text = []) [@param string|null $messageId, @param array $references, @param array $text]

messageId

v11.0.0 以前から

messageId(string $messageId)
@param string $messageId
@return $this
  1. v11.0.0 追加
    変更後
    messageId(string $messageId) [@param string $messageId, @return $this]

references

v11.0.0 以前から

references(array $references)
@param array $references
@return $this
  1. v11.0.0 追加
    変更後
    references(array $references) [@param array $references, @return $this]

referencesString

v11.0.0 以前から

referencesString(): string
@return string
  1. v11.0.0 追加
    変更後
    referencesString(): string [@return string]

text

v11.0.0 以前から

text(array $text)
@param array $text
@return $this
  1. v11.0.0 追加
    変更後
    text(array $text) [@return $this]
  2. v11.2.0 シグネチャ変更
    変更前
    text(array $text) [@return $this]
    変更後
    text(array $text) [@param array $text, @return $this]