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

Breadcrumb

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

function SignalableCommandInterface::handleSignal

The method will be called when the application is signaled.

Return value

int|false The exit code to return or false to continue the normal execution

1 method overrides SignalableCommandInterface::handleSignal()
TraceableCommand::handleSignal in vendor/symfony/console/Command/TraceableCommand.php
The method will be called when the application is signaled.

File

vendor/symfony/console/Command/SignalableCommandInterface.php, line 31

Class

SignalableCommandInterface
Interface for command reacting to signal.

Namespace

Symfony\Component\Console\Command

Code

public function handleSignal(int $signal, int|false $previousExitCode = 0) : int|false;
RSS feed
Powered by Drupal