[dev] [commits] Horde branch master updated. 0729ad4e199098207fec994fbac9d34c72e9b436

Chuck Hagenbuch chuck at horde.org
Wed Oct 6 01:15:45 UTC 2010


Quoting Michael Rubinsky <mrubinsk at horde.org>:

> For objects, such as shares, where the application scope needs to be  
> passed to the factory, we discussed implementing a new type of  
> binder that works similarly to the way the autoloader works, in that  
> we parse the type of object being requested and figure out the scope  
> from the name of the requested object. So e.g., when requesting  
> something like $injector->getInstance('Kronolith_Share') the  
> injector would know to get a share object and scope it to Kronolith.

I need to run this by the other injector authors, see if it makes  
sense to them. Also I need someone to document this somewhere that I  
won't forget it. :)

-chuck


More information about the dev mailing list