diff --git a/OutputPrinter.php b/OutputPrinter.php index 8d123af..7327396 100644 --- a/OutputPrinter.php +++ b/OutputPrinter.php @@ -1,7 +1,7 @@ output = $output; - $this->quiet = $beQuiet; + $this->quiet = $quiet; + $this->almostQuiet = $almostQuiet; + } + + /** + * @return bool + */ + public function shouldPrintRegularOutput(): bool + { + return !$this->quiet && !$this->almostQuiet; } /** * @return bool */ - public function isQuiet(): bool + public function shouldPrintImportantOutput(): bool { - return $this->quiet; + return !$this->quiet; } /**