[commits] Horde branch master updated. 691042e2549995178fe7528cccd1b90d4629c204
Chuck Hagenbuch
chuck at horde.org
Mon May 17 02:02:59 UTC 2010
The branch "master" has been updated.
The following is a summary of the commits.
from: 2b028d28dd808ef287e809804e5da35a87a555c4
691042e Replace the ImplementationWithSetters binder with an AnnotatedSetters binder that can be stacked on any other binder.
-----------------------------------------------------------------------
commit 691042e2549995178fe7528cccd1b90d4629c204
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Sun May 16 22:00:39 2010 -0400
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.
framework/Injector/doc/Horde/Injector/Readme.html | 19 -
framework/Injector/examples/Horde/Injector/annotatedsetters.php | 39 ++
framework/Injector/examples/Horde/Injector/binder.php | 2 +-
framework/Injector/examples/Horde/Injector/closure.php | 42 ++
framework/Injector/examples/Horde/Injector/factory.php | 2 +-
framework/Injector/examples/Horde/Injector/implementation.php | 4 +-
framework/Injector/examples/Horde/Injector/setget.php | 2 +-
framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php | 103 +++++
framework/Injector/lib/Horde/Injector/Binder/Closure.php | 1 -
framework/Injector/lib/Horde/Injector/Binder/Implementation.php | 69 +---
.../lib/Horde/Injector/Binder/ImplementationWithSetters.php | 56 ---
framework/Injector/lib/Horde/Injector/DependencyFinder.php | 43 ++
framework/Injector/lib/Horde/Injector/TopLevel.php | 4 +-
framework/Injector/package.xml | 8 +-
.../Injector/test/Horde/Injector/Binder/AnnotatedSettersTest.php | 56 +++
.../Injector/test/Horde/Injector/Binder/ImplementationTest.php | 70 +--
framework/Injector/test/Horde/Injector/BinderTest.php | 13 +-
framework/Injector/test/Horde/Injector/InjectorTest.php | 5 +-
18 files changed, 337 insertions(+), 201 deletions(-)
create mode 100644 framework/Injector/examples/Horde/Injector/annotatedsetters.php
create mode 100644 framework/Injector/examples/Horde/Injector/closure.php
create mode 100644 framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php
delete mode 100644 framework/Injector/lib/Horde/Injector/Binder/ImplementationWithSetters.php
create mode 100644 framework/Injector/lib/Horde/Injector/DependencyFinder.php
create mode 100644 framework/Injector/test/Horde/Injector/Binder/AnnotatedSettersTest.php
http://git.horde.org/diff.php/framework/Injector/doc/Horde/Injector/Readme.html?rt=horde-git&r1=0bf6cf94d4dfba55f74b38e2d6d6cb0ab425aefc&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/co.php/framework/Injector/examples/Horde/Injector/annotatedsetters.php?rt=horde-git&r=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/examples/Horde/Injector/binder.php?rt=horde-git&r1=93506afbce096039caeaa581628a876410dfdac2&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/co.php/framework/Injector/examples/Horde/Injector/closure.php?rt=horde-git&r=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/examples/Horde/Injector/factory.php?rt=horde-git&r1=93506afbce096039caeaa581628a876410dfdac2&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/examples/Horde/Injector/implementation.php?rt=horde-git&r1=93506afbce096039caeaa581628a876410dfdac2&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/examples/Horde/Injector/setget.php?rt=horde-git&r1=93506afbce096039caeaa581628a876410dfdac2&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/co.php/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php?rt=horde-git&r=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/lib/Horde/Injector/Binder/Closure.php?rt=horde-git&r1=8fed4555b5db757ec32052f15f5bb32f6ec40034&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/lib/Horde/Injector/Binder/Implementation.php?rt=horde-git&r1=2429d964d69a05f30fcc6381611dd51cc03e3d86&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/lib/Horde/Injector/Binder/ImplementationWithSetters.php?rt=horde-git&r1=44a8d3278e485a0d8e7596504db7d8439acbf217&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/co.php/framework/Injector/lib/Horde/Injector/DependencyFinder.php?rt=horde-git&r=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/lib/Horde/Injector/TopLevel.php?rt=horde-git&r1=2429d964d69a05f30fcc6381611dd51cc03e3d86&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/package.xml?rt=horde-git&r1=2429d964d69a05f30fcc6381611dd51cc03e3d86&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/co.php/framework/Injector/test/Horde/Injector/Binder/AnnotatedSettersTest.php?rt=horde-git&r=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php?rt=horde-git&r1=cf50d16b1ea8abb7656a20ad96fdc87882e4b4ec&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/test/Horde/Injector/BinderTest.php?rt=horde-git&r1=079d550cbef5e7b08743d7917e1efb23b5f2d488&r2=691042e2549995178fe7528cccd1b90d4629c204
http://git.horde.org/diff.php/framework/Injector/test/Horde/Injector/InjectorTest.php?rt=horde-git&r1=b89acd6e7bc2c2ab7510c24f5706638dcd816af4&r2=691042e2549995178fe7528cccd1b90d4629c204
More information about the commits
mailing list