Updated Dependency Injection (markdown)

MiniDigger
2018-01-25 21:58:33 +01:00
parent 3b9055f783
commit e5908c7906
+1 -1
@@ -1,6 +1,6 @@
> WIP!
#86 added the ability to use a simple dependency injection mechanism. This allows developers who don't need a big framework like guice to use "dependencies" (singleton objects like your plugin instance or some UserHandler) in your command classes.
[#86](https://github.com/aikar/commands/pull/86) added the ability to use a simple dependency injection mechanism. This allows developers who don't need a big framework like guice to use "dependencies" (singleton objects like your plugin instance or some UserHandler) in your command classes.
This page aims to give a short introduction into this feature.
## Defining Dependencies