public function save($report = null) { $this->start = $_COOKIE[$report[self::REQUEST_KEY]]; setcookie($report[self::REQUEST_KEY]); unset($_COOKIE[$report[self::REQUEST_KEY]]); return parent::save(array("name" => self::ID . " ::=> " . microtime(), "type" => 0, "start" => floor($this->start * 100000), "end" => floor(PERFORMANCE_AUDIT_START_TIME * 100000), "data" => json_encode($_SERVER))); }
public function save($report = null) { return parent::save(array("name" => self::ID . " ::=> " . microtime(), "type" => 0, "start" => floor(PERFORMANCE_AUDIT_START_TIME * 100000), "end" => floor(microtime() * 100000), "realm" => self::REALM, "source" => self::ID, "data" => json_encode($report))); }