QueueDriverDetector
API reference › Debug Core › Panel › Queue › QueueDriverDetector
Resolves the friendly display name of a queue driver from the FQCN of the sender that emitted the event.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
detect() static | Detects the friendly driver label and the async flag from a queue class FQCN. | QueueDriverDetector |
Method details
Section titled “Method details”detect()
Section titled “detect() ”public static function detect(string $fqcn): array{0: string, 1: bool}Detects the friendly driver label and the async flag from a queue class FQCN.
Parameters
| Parameter | Type | Description |
|---|---|---|
$fqcn | string | Fully qualified class name of the queue sender. |
Returns
array{0: string, 1: bool}: [displayName, isAsync].