@@ 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. |
@@ 97-104 (lines=8) @@ | ||
94 | * |
|
95 | * @return Support |
|
96 | */ |
|
97 | public static function create(Config $config) |
|
98 | { |
|
99 | if (php_sapi_name() === 'cli' || !(self::$instance instanceof self)) { |
|
100 | self::$instance = new self($config); |
|
101 | } |
|
102 | ||
103 | return self::$instance; |
|
104 | } |
|
105 | ||
106 | /** |
|
107 | * getInstance. |