1 | <?php |
||
5 | class SystemFactory |
||
6 | { |
||
7 | /** |
||
8 | * @var \League\CLImate\Util\System\System $instance |
||
9 | */ |
||
10 | |||
11 | protected static $instance; |
||
12 | |||
13 | /** |
||
14 | * Get an instance of the appropriate System class |
||
15 | * |
||
16 | * @return \League\CLImate\Util\System\System |
||
17 | */ |
||
18 | |||
19 | 948 | public static function getInstance() |
|
29 | |||
30 | /** |
||
31 | * Set the $instance property to the appropriate system |
||
32 | * |
||
33 | * @return \League\CLImate\Util\System\System |
||
34 | */ |
||
35 | |||
36 | 4 | protected static function getSystem() |
|
44 | } |
||
45 |