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

Breadcrumb

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

function CommandDataCollector::getInterruptedBySignal

File

vendor/symfony/console/DataCollector/CommandDataCollector.php, line 118

Class

CommandDataCollector
@internal

Namespace

Symfony\Component\Console\DataCollector

Code

public function getInterruptedBySignal() : ?string {
    if (isset($this->data['interrupted_by_signal'])) {
        return \sprintf('%s (%d)', SignalMap::getSignalName($this->data['interrupted_by_signal']), $this->data['interrupted_by_signal']);
    }
    return null;
}

API Navigation

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