refactoring

This commit is contained in:
denisdulici
2019-12-22 15:58:48 +03:00
parent f9687d9138
commit e82f948353
29 changed files with 154 additions and 288 deletions

View File

@@ -12,7 +12,7 @@ trait Jobs
*/
public function dispatch($job)
{
$function = $this->getDispatchMethod();
$function = $this->getDispatchFunction();
return $function($job);
}
@@ -31,7 +31,7 @@ trait Jobs
return $result;
}
public function getDispatchMethod()
public function getDispatchFunction()
{
$config = config('queue.default');