# man > Test2::EventFacet::Hub

---
type: CommandReference
command: Test2::EventFacet::Hub
mode: perldoc
section: 3perl
source: perldoc
---

## Quick Reference
- `$hub->{details}` — The hub class or subclass
- `$hub->{pid}` — PID of the hub
- `$hub->{tid}` — Thread ID of the hub
- `$hub->{hid}` — Hub ID
- `$hub->{huuid}` — Hub UUID
- `$hub->{nested}` — Nesting depth of the hub
- `$hub->{buffered}` — True if event was buffered

## Name
Test2::EventFacet::Hub - Facet for the hubs an event passes through.

## Synopsis
The `hub` facet is part of a Test2 event. It records the hubs an event passes through, with the most recent hub first. Access fields via the facet hash or accessor methods.

## Options
- `$trace->{details}` or `$trace->details()` — The hub class or subclass.
- `$trace->{pid}` or `$trace->pid()` — PID of the hub this event was sent to.
- `$trace->{tid}` or `$trace->tid()` — Thread ID of the hub the event was sent to.
- `$trace->{hid}` or `$trace->hid()` — The ID of the hub that the event was sent to.
- `$trace->{huuid}` or `$trace->huuid()` — The UUID of the hub that the event was sent to.
- `$trace->{nested}` or `$trace->nested()` — How deeply nested the hub was.
- `$trace->{buffered}` or `$trace->buffered()` — True if the event was buffered and not sent to the formatter independent of a parent (should never be set when nested is 0 or undef).

## See Also
- [Source code repository](http://github.com/Test-More/test-more/)
- `Test2::EventFacet` — parent facet module