Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OutputStyle.php

function OutputStyle::isSilent

File

vendor/symfony/console/Style/OutputStyle.php, line 81

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

public function isSilent() : bool {
    // @deprecated since Symfony 7.2, change to $this->output->isSilent() in 8.0
    return method_exists($this->output, 'isSilent') ? $this->output
        ->isSilent() : self::VERBOSITY_SILENT === $this->output
        ->getVerbosity();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal