/**
 *  store `basePath` from controller
 */ class ControllerStore { private key = Symbol ( 'Tie#controller' ) ; set ( controllerClass , basePath = '' ) { Reflect . defineMetadata ( this . key , basePath , controllerClass ) ; } get ( controllerClass ) { return Reflect . getMetadata ( this . key , controllerClass ) ; } } export const controllerStore = new ControllerStore ( ) ;