Events/MessageSent.php

framework · src/Illuminate/Mail/Events/MessageSent.php · php · MIT
email, tag:knn-classified

Module exposing: MessageSent

// Source: https://github.com/laravel/framework | License: MIT | Copyright Taylor Otwell
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace Illuminate\Mail\Events;

use Exception;
use Illuminate\Mail\SentMessage;
use Illuminate\Support\Collection;

/**
 * @property \Symfony\Component\Mime\Email $message
 */
class MessageSent
{
    /**
     * Create a new event instance.
     *
     * @param  \Illuminate\Mail\SentMessage  $sent  The message that was sent.
     * @param  array  $data  The message data.
     */
    public function __construct(
        public SentMessage $sent,
        public array $data = [],
    ) {
    }

    /**
     * Get the serializable representation of the object.
     *
     * @return array
     */
    public function __serialize()
    

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key