Codecourse@codecourse.comBus::batch([...]) takes an array of job instances. If different entity types need different jobs, build that array in a factory keyed off the model's type rather than branching inside the observer.3/7/26, 4:30 pm·0 reposts·0 likes