1: <?php
2: /**
3: * The abstract Horde factory class.
4: *
5: * PHP version 5
6: *
7: * @category Horde
8: * @package Core
9: * @author Michael Slusarz <slusarz@horde.org>
10: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
11: * @link http://pear.horde.org/index.php?package=Core
12: */
13:
14: /**
15: * The abstract Horde factory class.
16: *
17: * This class is used for factories that are intended to have their create()
18: * methods manually called by code.
19: *
20: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
21: *
22: * See the enclosed file COPYING for license information (LGPL). If you
23: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
24: *
25: * @category Horde
26: * @package Core
27: * @author Michael Slusarz <slusarz@horde.org>
28: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
29: * @link http://pear.horde.org/index.php?package=Core
30: */
31: class Horde_Core_Factory_Base
32: {
33: /**
34: * The injector.
35: *
36: * @var Horde_Injector
37: */
38: protected $_injector;
39:
40: /**
41: * Constructor.
42: *
43: * @param Horde_Injector $injector The injector to use.
44: */
45: public function __construct(Horde_Injector $injector)
46: {
47: $this->_injector = $injector;
48: }
49:
50: }
51: