From 84eac74cb6f6dd11149da8d8a96fae9bd2c2ff2a Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 2 Oct 2009 15:40:09 +0200 Subject: [PATCH] Phpdoc. --- framework/Injector/lib/Horde/Injector/Binder.php | 34 +++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/framework/Injector/lib/Horde/Injector/Binder.php b/framework/Injector/lib/Horde/Injector/Binder.php index fafa479c5..764c129ad 100644 --- a/framework/Injector/lib/Horde/Injector/Binder.php +++ b/framework/Injector/lib/Horde/Injector/Binder.php @@ -1,12 +1,44 @@ + * @author James Pepin + * @license http://opensource.org/licenses/bsd-license.php BSD + * @link http://pear.horde.org/index.php?package=Injector + */ + +/** + * Describes a binding class that is able to create concrete object instances. + * + * @category Horde + * @package Injector + * @author Bob Mckee + * @author James Pepin + * @license http://opensource.org/licenses/bsd-license.php BSD + * @link http://pear.horde.org/index.php?package=Injector + */ interface Horde_Injector_Binder { + /** + * Create an instance. + * + * @param Horde_Injector $injector The injector should provide all required + * dependencies for creating the instance. + * + * @return mixed The concrete instance. + */ public function create(Horde_Injector $injector); /** - * determine if one binder equals another binder + * Determine if one binder equals another binder * * @param Horde_Injector_Binder $binder The binder to compare against $this + * * @return bool true if they are equal, or false if they are not equal */ public function equals(Horde_Injector_Binder $binder); -- 2.11.0