123456789101112131415161718192021222324252627282930313233343536 |
- <?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;
- }
- }
|