public function register(callable $callback): void
    {
        $hint = $this->handlerHint($callback);

        $this->handlers[$hint] = $callback;
    }
public function register(callable $callback): void
    {
        $hint = $this->handlerHint($callback);

        $this->handlers[$hint] = $callback;
    }
public function register ( callable $ callback ) : void { $ hint = $ this -> handlerHint ( $ callback ) ; $ this -> handlers [ $ hint ] = $ callback ; }
Register a new exception handler.

@param callable $callback

@return void
@throws \ReflectionException
Register a new exception handler .