class TextMessage mixin Message (View source)
| ForwardsCalls |
| protected Message | $message | The underlying message instance. |
| mixed | forwardCallTo(mixed $object, string $method, array $parameters)
Forward a method call to the given object. | from ForwardsCalls |
| mixed | forwardDecoratedCallTo(mixed $object, string $method, array $parameters)
Forward a method call to the given object, returning $this if the forwarded call returned itself. | from ForwardsCalls |
| static void | throwBadMethodCallException(string $method)
Throw a bad method call exception for the given method. | from ForwardsCalls |
| void | __construct(Message $message)
Create a new text message instance. | |
| string | embed(string|Attachable|Attachment $file)
Embed a file in the message and get the CID. | |
| string | embedData(string|resource $data, string $name, string|null $contentType = null)
Embed in-memory data in the message and get the CID. | |
| mixed | __call(string $method, array $parameters)
Dynamically pass missing methods to the underlying message instance. |
Forward a method call to the given object.
Forward a method call to the given object, returning $this if the forwarded call returned itself.
Throw a bad method call exception for the given method.
Create a new text message instance.
Embed a file in the message and get the CID.
Embed in-memory data in the message and get the CID.
Dynamically pass missing methods to the underlying message instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Mail/TextMessage.html