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

Breadcrumb

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

function Application::setAlarmInterval

Sets the interval to schedule a SIGALRM signal in seconds.

File

vendor/symfony/console/Application.php, line 136

Class

Application
An Application is the container for a collection of commands.

Namespace

Symfony\Component\Console

Code

public function setAlarmInterval(?int $seconds) : void {
    $this->alarmInterval = $seconds;
    $this->scheduleAlarm();
}

API Navigation

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