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

Breadcrumb

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

function ConsoleErrorEvent::__construct

Overrides ConsoleEvent::__construct

File

vendor/symfony/console/Event/ConsoleErrorEvent.php, line 27

Class

ConsoleErrorEvent
Allows to handle throwables thrown while running a command.

Namespace

Symfony\Component\Console\Event

Code

public function __construct(InputInterface $input, OutputInterface $output, \Throwable $error, ?Command $command = null) {
    parent::__construct($command, $input, $output);
}

API Navigation

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