MockRavenClient.php 513 B

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