We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed8e6e2 commit 975e1c5Copy full SHA for 975e1c5
src/Headers/ServerTiming.php
@@ -5,6 +5,13 @@ class ServerTiming implements Header
5
{
6
protected $_timings = [];
7
8
+ public static function single($key, $duration, $description = "")
9
+ {
10
+ $h = new static();
11
+ $h->add($key, $duration, $description);
12
+ return $h;
13
+ }
14
+
15
public function add($key, $duration, $description = "")
16
17
$this->_timings[$key] = "$key"
0 commit comments