mirror of
https://github.com/filp/whoops.git
synced 2026-09-21 15:49:38 +00:00
26 lines
443 B
PHP
26 lines
443 B
PHP
<?php
|
|
/**
|
|
* damnit - php errors for cool kids
|
|
* @author Filipe Dobreira <http://github.com/filp>
|
|
*/
|
|
|
|
namespace DamnIt\Handler;
|
|
use DamnIt\Handler\Handler;
|
|
|
|
class DummyHandler extends Handler
|
|
{
|
|
/**
|
|
* @var \Exception[]
|
|
*/
|
|
public $exceptions = array();
|
|
|
|
/**
|
|
* @param \Exception
|
|
* @return int|null
|
|
*/
|
|
public function handle(\Exception $exception)
|
|
{
|
|
$this->exceptions[] = $exception;
|
|
}
|
|
}
|