[Wiki] changed: Doc/Dev/Injector

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.cvs
Message-ID <[email protected]>
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.


-- 
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.