Файл: vendor/laravel/framework/src/Illuminate/Foundation/Bus/DispatchesJobs.php
Строк: 20
<?php
namespace IlluminateFoundationBus;
trait DispatchesJobs
{
/**
* Dispatch a job to its appropriate handler.
*
* @param mixed $job
* @return mixed
*/
protected function dispatch($job)
{
return dispatch($job);
}
/**
* Dispatch a job to its appropriate handler in the current process.
*
* Queueable jobs will be dispatched to the "sync" queue.
*
* @param mixed $job
* @return mixed
*/
public function dispatchSync($job)
{
return dispatch_sync($job);
}
}