scratch – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 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  
12 namespace Monolog\Handler;
13  
14 use Raven_Client;
15  
16 class 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 }