ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
MockRavenClient.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of the Monolog package.
5 *
6 * (c) Jordi Boggiano <j.boggiano@seld.be>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Monolog\Handler;
13
14use Raven_Client;
15
16class MockRavenClient extends Raven_Client
17{
18 public function capture($data, $stack, $vars = null)
19 {
20 $data = array_merge($this->get_user_data(), $data);
21 $this->lastData = $data;
22 $this->lastStack = $stack;
23 }
24
25 public $lastData;
26 public $lastStack;
27}
capture($data, $stack, $vars=null)
$data