@@ 90-97 (lines=8) @@ | ||
87 | * |
|
88 | * @return Support |
|
89 | */ |
|
90 | public static function create(Config $config) |
|
91 | { |
|
92 | if (php_sapi_name() === 'cli' || !(self::$instance instanceof self)) { |
|
93 | self::$instance = new self($config); |
|
94 | } |
|
95 | ||
96 | return self::$instance; |
|
97 | } |
|
98 | ||
99 | /** |
|
100 | * clear. |
@@ 104-113 (lines=10) @@ | ||
101 | * |
|
102 | * @return Support |
|
103 | */ |
|
104 | public static function create(Config $config) |
|
105 | { |
|
106 | if (php_sapi_name() === 'cli' || !(self::$instance instanceof self)) { |
|
107 | self::$instance = new self($config); |
|
108 | ||
109 | self::setDevKey(); |
|
110 | } |
|
111 | ||
112 | return self::$instance; |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * getInstance. |