This commit is contained in:
Bellord
2026-06-03 11:11:05 +03:00
parent 207d793b07
commit 47271d9413
9 changed files with 130 additions and 9 deletions
+2
View File
@@ -108,6 +108,8 @@ copy_folder_safe($nullableEntity->getPath(), $newEntity->getPath(), true, true,
'/\.module\.json/',
'/clone\.php/',
'/readme\.md/',
'/src\/\.env$/',
'/src\/config\.php$/',
], function ($d1, &$d2) use ($nullableEntity, $newEntity){
$lastModuleName = collect(explode('.', $newEntity->fields()->id))->last();
$lastNullableModuleName = collect(explode('.', $nullableEntity->fields()->id))->last();