public function Section::setId in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::setId()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::setId()
- 4.x 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 217
Class
- Section
- @internal This class is for internal usage only
Namespace
Drupal\webprofilerCode
public function setId($id) {
$this->id = $id;
return $this;
}