Skip to content
PHP Ecosystem
Explore

MailPanel

API reference › Debug Core › Panel › Mail › MailPanel

final classPHPForge\Debug\Panel\Mail\MailPanel
ExtendsPHPForge\Debug\Panel
Sourcesrc/Panel/Mail/MailPanel.php

Presents captured mail messages as a status table followed by one detail group per message.

MethodDescriptionDefined by
present()Builds the panel view from the decoded mail capture.MailPanel
ConstantValueDescriptionDefined by
ICON\PHPForge\Debug\Panel\Mail\MailMessage::ID->valueMailPanel
ID\PHPForge\Debug\Panel\Mail\MailMessage::ID->valueMailPanel
TITLE\PHPForge\Debug\Panel\Mail\MailMessage::TITLE->valueMailPanel
public function present(array<string, mixed> $data): PHPForge\Debug\PanelView

Builds the panel view from the decoded mail capture.

Parameters

ParameterTypeDescription
$dataarray<string, mixed>Decoded panel payload with an entries key holding the captured messages.

Returns

PanelView: Summary table, per-message detail groups, and toolbar metric.