File "DispatchesJobs.php"
Full Path: /var/www/drive/laravel/framework/src/Illuminate/Foundation/Bus/DispatchesJobs.php
File size: 573 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Illuminate\Foundation\Bus;
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);
}
}