[cvs] [Wiki] changed: Doc/Dev/Injector
Chuck Hagenbuch
chuck at horde.org
Fri Jan 15 17:00:03 UTC 2010
chuck Fri, 15 Jan 2010 12:00:03 -0500
Modified page: http://wiki.horde.org/Doc/Dev/Injector
New Revision: 1.5
Change log: style tweak
@@ -2,9 +2,8 @@
+ Horde_Injector
Horde_Injector is a lightweight dependency-injection container.
-
++ Dependency Injection Container FAQ
+++ Where can {{Horde_Injector}} be used?
@@ -129,9 +128,9 @@
}
}
</code>
-//**Factory method names can be whatever you want but they must only
require one parameter and it must be a {{Horde_Injector}} object.**//
+//Factory method names can be whatever you want but they must only
require one parameter and it must be a {{Horde_Injector}} object.//
+++++ Implementation binders
Reflection allows us to programmatically inspect the structure of
the class that is to be instantiated. By reading the interface types
of the class constructor's parameters and then asking the injector to
create those objects as well we try to provide the requested class's
constructor with all its dependencies.
More information about the cvs
mailing list