From: Vincent Vanwaelscappel Date: Thu, 21 Jul 2022 18:23:21 +0000 (+0200) Subject: wip #4628 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f2cddfa7b1a8446ba3430147ec045dd4777a8658;p=cubist_cms-back.git wip #4628 --- diff --git a/src/app/Jobs/Base.php b/src/app/Jobs/Base.php index 79ff99a..ecd5ac6 100644 --- a/src/app/Jobs/Base.php +++ b/src/app/Jobs/Base.php @@ -39,4 +39,9 @@ class Base implements ShouldQueue { $this->jobName = $jobName; } + + public function isSync(): bool + { + return $this->connection === 'sync'; + } }