app/App.js
/**
   *  Registers all service objects onto the service container
   *
   *  @return {void}
   */
Registers all service objects onto the service container
@return {void}
Registers all service objects onto the service container @return { void }
registerServices() {
    this.recursivelyScanDirectory(__dirname + '/Services', -1, (itemPath, value, namespace) => {
      this.getServiceContainer().register(this.resolveNamespace(value, namespace), () => {
        let serviceClass = require(itemPath),
            service = new serviceClass();
        service.setServiceContainer(this.getServiceContainer());
        return service;
      });
    });
  }
registerServices ( ) { this . recursivelyScanDirectory ( __dirname + '/Services' , - 1 , ( itemPath , value , namespace ) => { this . getServiceContainer ( ) . register ( this . resolveNamespace ( value , namespace ) , ( ) => { let serviceClass = require ( itemPath ) , service = new serviceClass ( ) ; service . setServiceContainer ( this . getServiceContainer ( ) ) ; return service ; } ) ; } ) ; }
Registers all service objects onto the service container
  @return {void}
Registers all service objects onto the service container @return { void }