示例#1
0
 /**
  * If an exception occures, you can hook into the process that handles this exception
  * and add your own logic. The callback may be a function or static method. If you wish
  * to use a static method define this constant in this way: 'MyClass::myMethod'
  *
  * @param string $callback
  */
 public static function setExceptionCallback($callback)
 {
     self::$exceptionCallback = $callback;
 }