Using Backed Enums with Bus Chain's onQueue Method
Learn how to streamline your queue handling by directly using backed enums with Laravel's Bus chain onQueue method, removing the need for explicit value access.
Basic Usage
Here's the clean, new way to use enums with queue chains:
// The new, cleaner way
Bus::chain($jobs)
-&