public function Section::__construct

Constructor.

Parameters

float|null $origin Set the origin of the events in this section, use null to set their origin to their start time:

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/Stopwatch.php, line 132

Class

Section

Namespace

Symfony\Component\HttpKernel\Debug

Code

public function __construct($origin = null) {
  $this->origin = is_numeric($origin) ? $origin : null;
}