You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3027,23 +3027,23 @@ public static function encodedStringToArray($inputString){
3027
3027
3028
3028
/**
3029
3029
* unfoldArray
3030
-
* @version 1.1 (2021-11-16)
3030
+
* @version 1.1.1 (2024-08-02)
3031
3031
*
3032
-
* @see README.md (\DDTools\ObjectTools::unfold)
3032
+
* @see README.md (\DDTools\Tools\Objects::unfold)
3033
3033
*/
3034
3034
publicstaticfunctionunfoldArray(
3035
3035
$array,
3036
3036
$keyPrefix = ''
3037
3037
){
3038
-
return \DDTools\ObjectTools::unfold([
3038
+
return \DDTools\Tools\Objects::unfold([
3039
3039
'object' => $array,
3040
3040
'keyPrefix' => $keyPrefix
3041
3041
]);
3042
3042
}
3043
3043
3044
3044
/**
3045
3045
* createDir
3046
-
* @version 1.0 (2019-10-22)
3046
+
* @version 1.0.1 (2024-08-02)
3047
3047
*
3048
3048
* @desc Makes directory using `$modx->config['new_folder_permissions']`. Nested directories will be created too. Doesn't throw an exception if the folder already exists.
3049
3049
*
@@ -3053,12 +3053,12 @@ public static function unfoldArray(
3053
3053
* @return {boolean} — Success status.
3054
3054
*/
3055
3055
publicstaticfunctioncreateDir($params){
3056
-
return \DDTools\FilesTools::createDir($params);
3056
+
return \DDTools\Tools\Files::createDir($params);
3057
3057
}
3058
3058
3059
3059
/**
3060
3060
* copyDir
3061
-
* @version 1.1 (2018-10-02)
3061
+
* @version 1.1.1 (2024-08-02)
3062
3062
*
3063
3063
* @desc Copies a required folder with all contents recursively.
3064
3064
*
@@ -3071,15 +3071,15 @@ public static function copyDir(
3071
3071
$sourcePath,
3072
3072
$destinationPath
3073
3073
){
3074
-
return \DDTools\FilesTools::copyDir([
3074
+
return \DDTools\Tools\Files::copyDir([
3075
3075
'sourcePath' => $sourcePath,
3076
3076
'destinationPath' => $destinationPath
3077
3077
]);
3078
3078
}
3079
3079
3080
3080
/**
3081
3081
* removeDir
3082
-
* @version 1.1 (2018-10-02)
3082
+
* @version 1.1.1 (2024-08-02)
3083
3083
*
3084
3084
* @desc Removes a required folder with all contents recursively.
3085
3085
*
@@ -3088,7 +3088,7 @@ public static function copyDir(
0 commit comments