Replace the ImplementationWithSetters binder with an AnnotatedSetters binder that...
authorChuck Hagenbuch <chuck@horde.org>
Mon, 17 May 2010 02:00:39 +0000 (22:00 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 17 May 2010 02:00:39 +0000 (22:00 -0400)
commit691042e2549995178fe7528cccd1b90d4629c204
tree7e27bb711bd6177860989f11b15e493fbb1d65ed
parent2b028d28dd808ef287e809804e5da35a87a555c4
Replace the ImplementationWithSetters binder with an AnnotatedSetters binder that can be stacked on any other binder.

Also add examples for the annotated setters and closure binders.
18 files changed:
framework/Injector/doc/Horde/Injector/Readme.html
framework/Injector/examples/Horde/Injector/annotatedsetters.php [new file with mode: 0644]
framework/Injector/examples/Horde/Injector/binder.php
framework/Injector/examples/Horde/Injector/closure.php [new file with mode: 0644]
framework/Injector/examples/Horde/Injector/factory.php
framework/Injector/examples/Horde/Injector/implementation.php
framework/Injector/examples/Horde/Injector/setget.php
framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php [new file with mode: 0644]
framework/Injector/lib/Horde/Injector/Binder/Closure.php
framework/Injector/lib/Horde/Injector/Binder/Implementation.php
framework/Injector/lib/Horde/Injector/Binder/ImplementationWithSetters.php [deleted file]
framework/Injector/lib/Horde/Injector/DependencyFinder.php [new file with mode: 0644]
framework/Injector/lib/Horde/Injector/TopLevel.php
framework/Injector/package.xml
framework/Injector/test/Horde/Injector/Binder/AnnotatedSettersTest.php [new file with mode: 0644]
framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php
framework/Injector/test/Horde/Injector/BinderTest.php
framework/Injector/test/Horde/Injector/InjectorTest.php