JobPayloadInspector
API reference › Debug Core › Panel › Queue › JobPayloadInspector
Extracts the public-property tree of a job into a normalized, serializable structure.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
extract() static | Extracts the public properties of an object as a recursively normalized array. | JobPayloadInspector |
Method details
Section titled “Method details”extract()
Section titled “extract() ”public static function extract(object $job): array<string, mixed>Extracts the public properties of an object as a recursively normalized array.
The synthetic __class key is NOT included on the top-level extraction (the renderer already knows the job class
via JobRecord::$jobClass) but IS added when nested objects are expanded, so each sub-tree carries its own
type label.
Parameters
| Parameter | Type | Description |
|---|---|---|
$job | object | Job instance to inspect. |
Returns
array<string, mixed>: Top-level property map keyed by property name.