24 lines
353 B
PHP
24 lines
353 B
PHP
<?php
|
|
/**
|
|
* Storage for additional client context.
|
|
*
|
|
* @package raven
|
|
*/
|
|
class Raven_Context
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->clear();
|
|
}
|
|
|
|
/**
|
|
* Clean up existing context.
|
|
*/
|
|
public function clear()
|
|
{
|
|
$this->tags = array();
|
|
$this->extra = array();
|
|
$this->user = null;
|
|
}
|
|
}
|