protected function handlerHint(callable $callback) { $reflection = new ReflectionFunction($callback); $exception = $reflection->getParameters()[0]; return $exception->getClass()->getName(); }