HoodException.php
352 Bytes
<?php
/**
* Created by PhpStorm.
* User: Zip
* Date: 14/12/7
* Time: 下午2:48
*/
namespace Hood\Debug;
use Hood\Debug\Debugbar\Handler;
class HoodException
{
public static function exceptionHandler($Exception)
{
$handler = new Handler();
$handler->addExceptionCollector($Exception);
$handler->bridge();
}
}