Some tighter and cleaner code in the AnnotatedSetters binder
authorChuck Hagenbuch <chuck@horde.org>
Mon, 17 May 2010 20:37:21 +0000 (16:37 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 17 May 2010 20:37:21 +0000 (16:37 -0400)
commit24042552d10058d39c00ad0d8b96fbec82333706
treedad9781d521aa950bb044d2cf1dc6a4a125fda25
parentabda7d126953b51915647525d50919d18f41e1ae
Some tighter and cleaner code in the AnnotatedSetters binder

- Fixed lifetime of $setters array, removing members variable that lasted too long
- Implemented equals() correctly
- Removed an unnecessary method distiction (between findSetters and bindSetters)
- Broke determination of what is and isn't a setter into a separate method
framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php