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

Breadcrumb

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

function OutputStyle::getFormatter

Overrides OutputInterface::getFormatter

3 calls to OutputStyle::getFormatter()
SymfonyStyle::createBlock in vendor/symfony/console/Style/SymfonyStyle.php
SymfonyStyle::section in vendor/symfony/console/Style/SymfonyStyle.php
Formats a section title.
SymfonyStyle::title in vendor/symfony/console/Style/SymfonyStyle.php
Formats a command title.

File

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

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

public function getFormatter() : OutputFormatterInterface {
    return $this->output
        ->getFormatter();
}
RSS feed
Powered by Drupal