EventCellRenderer
API reference › Debug Core › Panel › Event › EventCellRenderer
Renders the typed cells of the events grid for the Event debug panel.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
renderClassCell() static | Renders the event class FQCN as a muted namespace prefix plus a bold short name (— when empty). | EventCellRenderer |
renderSenderCell() static | Renders the sender FQCN as a muted namespace prefix plus a bold short name (— for static events). | EventCellRenderer |
renderStaticCell() static | Renders a muted static badge for class-level events, or — for object-level ones. | EventCellRenderer |
renderTimeCell() static | Renders the capture time as H:i:s.mmm, derived from the row’s second-precision timestamp. | EventCellRenderer |
Method details
Section titled “Method details”renderClassCell()
Section titled “renderClassCell() ”public static function renderClassCell(PHPForge\Debug\Panel\Event\EventRow $row): stringRenders the event class FQCN as a muted namespace prefix plus a bold short name (— when empty).
renderSenderCell()
Section titled “renderSenderCell() ”public static function renderSenderCell(PHPForge\Debug\Panel\Event\EventRow $row): stringRenders the sender FQCN as a muted namespace prefix plus a bold short name (— for static events).
renderStaticCell()
Section titled “renderStaticCell() ”public static function renderStaticCell(PHPForge\Debug\Panel\Event\EventRow $row): stringRenders a muted static badge for class-level events, or — for object-level ones.
renderTimeCell()
Section titled “renderTimeCell() ”public static function renderTimeCell(PHPForge\Debug\Panel\Event\EventRow $row): stringRenders the capture time as H:i:s.mmm, derived from the row’s second-precision timestamp.