This commit is contained in:
2020-10-29 18:17:25 +08:00
parent 6839b64be8
commit 53ae43b79b
198 changed files with 708 additions and 850 deletions
+1
View File
@@ -5,6 +5,7 @@
* Date: 2018/4/4 0004
* Time: 14:57
*/
declare(strict_types=1);
namespace Snowflake\Core;
+1
View File
@@ -5,6 +5,7 @@
* Date: 2019/1/14 0014
* Time: 13:50
*/
declare(strict_types=1);
namespace Snowflake\Core;
+2 -1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace Snowflake\Core;
@@ -14,7 +15,7 @@ use Snowflake\Abstracts\Component;
class Dtl extends Component
{
protected $params;
protected array $params;
/**
+1 -17
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace Snowflake\Core;
@@ -45,23 +46,6 @@ class Help
$xml = JSON::decode($xml);
}
return $xml;
/* $matchQuote = '/(<\?xml.*?\?>)?<([a-zA-Z_]+)>(<([a-zA-Z_]+)><!.*?><\/\4>)+<\/\2>/';*/
// if (!preg_match($matchQuote, $xml)) {
// return self::jsonToArray($xml);
// }
// try {
// $data = @simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);
// if ($data !== false) {
// $data = json_decode(json_encode($data), TRUE);
// } else {
// $data = $xml;
// }
// } catch (\Exception $exception) {
// $data = $xml;
// } finally {
// return $data;
// }
}
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace Snowflake\Core;
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace Snowflake\Core;
+1
View File
@@ -5,6 +5,7 @@
* Date: 2019-03-20
* Time: 01:03
*/
declare(strict_types=1);
namespace Snowflake\Core;