]> _ Git - cubist_cms-back.git/commitdiff
wip #4628
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 21 Jul 2022 18:23:21 +0000 (20:23 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 21 Jul 2022 18:23:21 +0000 (20:23 +0200)
src/app/Jobs/Base.php

index 79ff99afc417886a5ecf40364ad8990b3f5d0a04..ecd5ac6bc8e29be9202c77b0ea10b176aa7bc97a 100644 (file)
@@ -39,4 +39,9 @@ class Base implements ShouldQueue
     {
         $this->jobName = $jobName;
     }
+
+    public function isSync(): bool
+    {
+        return $this->connection === 'sync';
+    }
 }