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

Breadcrumb

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

function SignalHandler::handleWindowsSignal

File

vendor/seld/signal-handler/src/SignalHandler.php, line 495

Class

SignalHandler
SignalHandler and factory

Namespace

Seld\Signal

Code

private static function handleWindowsSignal(int $event) : void {
    if (PHP_WINDOWS_EVENT_CTRL_C === $event) {
        self::callHandlerFor(self::SIGINT);
    }
    elseif (PHP_WINDOWS_EVENT_CTRL_BREAK === $event) {
        self::callHandlerFor(self::SIGBREAK);
    }
}

API Navigation

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