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

Breadcrumb

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

function Process::getStartTime

Throws

LogicException in case process is not started

File

vendor/symfony/process/Process.php, line 1195

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function getStartTime() : float {
    if (!$this->isStarted()) {
        throw new LogicException('Start time is only available after process start.');
    }
    return $this->starttime;
}
RSS feed
Powered by Drupal