@@ 404-413 (lines=10) @@ | ||
401 | * @param string $action |
|
402 | * @param array $states |
|
403 | */ |
|
404 | public function clear($action, array $states = []) |
|
405 | { |
|
406 | if (empty($states)) { |
|
407 | $states = ['ready', 'delayed', 'buried']; |
|
408 | } |
|
409 | ||
410 | foreach ($states as $state) { |
|
411 | $this->clearTube($action, $state); |
|
412 | } |
|
413 | } |
|
414 | ||
415 | /** |
|
416 | * @param string $tube |
@@ 588-597 (lines=10) @@ | ||
585 | * @param string $action |
|
586 | * @param array $states |
|
587 | */ |
|
588 | public function clear($action, array $states = []) |
|
589 | { |
|
590 | if (empty($states)) { |
|
591 | $states = ['ready', 'delayed', 'buried']; |
|
592 | } |
|
593 | ||
594 | foreach ($states as $state) { |
|
595 | $this->clearTube($action, $state); |
|
596 | } |
|
597 | } |
|
598 | ||
599 | /** |
|
600 | * @return LoggerInterface |