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

Breadcrumb

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

function ConsoleTerminateEvent::setExitCode

File

vendor/symfony/console/Event/ConsoleTerminateEvent.php, line 36

Class

ConsoleTerminateEvent
Allows to manipulate the exit code of a command after its execution.

Namespace

Symfony\Component\Console\Event

Code

public function setExitCode(int $exitCode) : void {
    $this->exitCode = $exitCode;
}

API Navigation

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