refactor(registerar): only call register method when defined
refactor(registerar): only call register method when defined

adonisjs/adonis-framework,poppinss/adonis-fold,adonisjs/adonis-framework,poppinss/adonis-fold