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