class Illuminate / Mail / TextMessage

TextMessage

Uses

Properties

protected

$message Message

The underlying message instance.

Default: null

Methods

public

__construct ( $message ) : void

Create a new text message instance.

Parameters

public

embed ( $file ) : string

Embed a file in the message and get the CID.

Parameters

public

embedData ( $data , $name , $contentType ) : string

Embed in-memory data in the message and get the CID.

Parameters

  • $data string|resource
  • $name string
  • $contentType string|null
public

__call ( $method , $parameters ) : mixed

Dynamically pass missing methods to the underlying message instance.

Parameters

  • $method string
  • $parameters array