protected function handlerHint(callable $callback): string
    {
        $reflection = new ReflectionFunction($callback);

        $exception = $reflection->getParameters()[0];

        return $exception->getClass()->getName();
    }
protected function handlerHint(callable $callback): string
    {
        $reflection = new ReflectionFunction($callback);

        $exception = $reflection->getParameters()[0];

        return $exception->getClass()->getName();
    }
protected function handlerHint ( callable $ callback ) : string { $ reflection = new ReflectionFunction ( $ callback ) ; $ exception = $ reflection -> getParameters ( ) [ 0 ] ; return $ exception -> getClass ( ) -> getName ( ) ; }
Get the hint for an exception handler.

@param callable $callback

@return string
@throws \ReflectionException
Get the hint for an exception handler .