You are here

public function Section::setId in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::setId()
  2. 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::setId()
  3. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::setId()

Sets the session identifier.

Parameters

string $id: The session identifier.

Return value

Section The current section

File

webprofiler/src/Stopwatch.php, line 245

Class

Section
@internal This class is for internal usage only

Namespace

Drupal\webprofiler

Code

public function setId($id) {
  $this->id = $id;
  return $this;
}