mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 12:14:03 +00:00
shouldBeQueued() default value true
This commit is contained in:
parent
74b971caef
commit
52470fa734
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class JobPipeline implements ShouldQueue
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function shouldBeQueued(bool $shouldBeQueued)
|
public function shouldBeQueued(bool $shouldBeQueued = true)
|
||||||
{
|
{
|
||||||
$this->shouldBeQueued = $shouldBeQueued;
|
$this->shouldBeQueued = $shouldBeQueued;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue