import { FactoryInterface , ServiceManager } from '../ServiceManager' ; import { ControllerManager } from './ControllerManager' ; import { Config , ControllerManagerConfigType } from '../Config' ; export const ControllerManagerFactory = ( sm ) => { return new ControllerManager ( sm , sm . get ( Config ) . of < ControllerManagerConfigType > ( 'controller' ) ) ; } ;