1.0.0 • Published 10 years ago
geoow-dependency-injection v1.0.0
Geoow dependency injection
Dependency injection with use and define
Install
npm install geoow-dependency-injectionHow to use
Define a class:
define('ClassName', () =>
{
return {
methodName
};
});Use the class:
const className = use('className');
className.methodName();License
GPL-3.0
1.0.0
10 years ago