Skip to content

Commit

Permalink
FakeQueueManager::clearAll
Browse files Browse the repository at this point in the history
  • Loading branch information
gam6itko committed Jun 5, 2023
1 parent 5255f54 commit 3c53a40
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Queue/FakeQueueManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,11 @@ private function getDefaultDriver(): string
{
return $this->config->getDefaultDriver();
}

public function clearAll(): void
{
foreach ($this->connections as $connection) {
$connection->clear();
}
}
}

0 comments on commit 3c53a40

Please sign in to comment.