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

Breadcrumb

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

function Application::renderThrowable

2 calls to Application::renderThrowable()
Application::doRun in vendor/composer/composer/src/Composer/Console/Application.php
Runs the current application.
Application::run in vendor/symfony/console/Application.php
Runs the current application.

File

vendor/symfony/console/Application.php, line 842

Class

Application
An Application is the container for a collection of commands.

Namespace

Symfony\Component\Console

Code

public function renderThrowable(\Throwable $e, OutputInterface $output) : void {
    $output->writeln('', OutputInterface::VERBOSITY_QUIET);
    $this->doRenderThrowable($e, $output);
    if (null !== $this->runningCommand) {
        $output->writeln(\sprintf('<info>%s</info>', OutputFormatter::escape(\sprintf($this->runningCommand
            ->getSynopsis(), $this->getName()))), OutputInterface::VERBOSITY_QUIET);
        $output->writeln('', OutputInterface::VERBOSITY_QUIET);
    }
}

API Navigation

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