You are here

public function Kernel::getStartTime in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Kernel.php \Symfony\Component\HttpKernel\Kernel::getStartTime()

Gets the request start time (not available if debug is disabled).

Return value

int The request start timestamp

Overrides KernelInterface::getStartTime

File

vendor/symfony/http-kernel/Kernel.php, line 375

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function getStartTime() {
  return $this->debug ? $this->startTime : -INF;
}