/**
* @return MessageEvent[]
*/
public static function getMailerEvents(string
$transport = null
): array
{ return self::
getMessageMailerEvents()->
getEvents($transport);
} public static function getMailerEvent(int
$index = 0, string
$transport = null
): ?MessageEvent
{ return self::
getMailerEvents($transport)[$index] ?? null;
} /**
* @return RawMessage[]
*/
public static function getMailerMessages(string
$transport = null
): array
{ return self::
getMessageMailerEvents()->
getMessages($transport);
} public static function getMailerMessage(int
$index = 0, string
$transport = null
): ?RawMessage
{