@gabliam/web-core
Version:
Gabliam plugin for add web-core
16 lines (15 loc) • 458 B
TypeScript
import { MethodInfo } from './plugin-config';
/**
* Execution context for the controller.
* This class can be injected in interceptors
*/
export declare class ExecutionContext {
private instance;
private methodInfo;
constructor(instance: any, methodInfo: MethodInfo);
getClass<T = any>(): T;
getConstructor<T = object>(): T;
getHandler(): Function;
getHandlerName(): string | symbol;
getMethodInfo(): MethodInfo<string>;
}