From 21de24af6ac08eae7e9887cacaf47aa3aafb8e5d Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 7 Apr 2023 00:05:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/function.php b/function.php index 5c18de59..fe7ca3b6 100644 --- a/function.php +++ b/function.php @@ -36,6 +36,20 @@ if (!function_exists('make')) { } } +if (!function_exists('copy')) { + + + /** + * @param $name + * @return mixed + * @throws + */ + function copy($name): mixed + { + return Kiri::getDi()->copy($name); + } + +} if (!function_exists('isJson')) {