Revision 2258,
1.4 KB
checked in by pedroerp, 14 years ago
(diff) |
Ticket #609 - Atualizando e padronizando alguns comentários.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * eGroupWare * |
---|
4 | * http://www.egroupware.org * |
---|
5 | * -------------------------------------------- * |
---|
6 | * This program is free software; you can redistribute it and/or modify it * |
---|
7 | * under the terms of the GNU General Public License as published by the * |
---|
8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
9 | * option) any later version. * |
---|
10 | \**************************************************************************/ |
---|
11 | |
---|
12 | /** |
---|
13 | * This class is temporary. We just need to use it until all the |
---|
14 | * processes are updated and using our new static factory. The |
---|
15 | * only purpose of this class is to forward the calls to our |
---|
16 | * frontend factory class. Formally, it's an Adapter Design Pattern. |
---|
17 | * |
---|
18 | * @package Factory |
---|
19 | * @license http://www.gnu.org/copyleft/gpl.html GPL |
---|
20 | * @author Pedro Eugênio Rocha - pedro.eugenio.rocha@gmail.com |
---|
21 | */ |
---|
22 | class ProcessWrapperFactory |
---|
23 | { |
---|
24 | |
---|
25 | public function &getInstance() { |
---|
26 | |
---|
27 | $args = func_get_args(); |
---|
28 | return call_user_func_array(array(Factory, "getInstance"), $args); |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | public function &newInstance() { |
---|
33 | |
---|
34 | $args = func_get_args(); |
---|
35 | return call_user_func_array(array(Factory, "newInstance"), $args); |
---|
36 | |
---|
37 | } |
---|
38 | } |
---|
39 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.