Palzin Track
Get 15% off with code PTRACKSIGNUP15 

Laravel Diary Logo

Laravel Application Helper Function: dispatch

The dispatch helper function allows you to easily push a new job onto the job queue. It resolves the Dispatcher instance from the Service Container and calls the dispatch method. You can also use app(Dispatcher::class)->dispatch($job) or Bus::dispatch($job) as alternatives to the helper function.