Webmozart\Console\Api\IO\Output::setQuiet PHP Метод

setQuiet() публичный Метод

Sets whether output should be suppressed completely.
public setQuiet ( boolean $quiet )
$quiet boolean Pass `true` to suppress all output and `false` otherwise.
    public function setQuiet($quiet)
    {
        $this->quiet = (bool) $quiet;
    }

Usage Example

Пример #1
0
 /**
  * Sets whether all output should be suppressed.
  *
  * @param bool $quiet Pass `true` to suppress all output and `false`
  *                    otherwise.
  */
 public function setQuiet($quiet)
 {
     $this->output->setQuiet($quiet);
     $this->errorOutput->setQuiet($quiet);
 }