zazoomauro / node-dependency-injection

The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
https://github.com/zazoomauro/node-dependency-injection/wiki
MIT License
281 stars 34 forks source link

Reference default directory #109

Closed zazoomauro closed 5 years ago

zazoomauro commented 5 years ago

Add the possibility to add a default directory.

new ContainerBuilder(false, path.join('/some/dir/'));

the all services class path will start from this default directory value