Kaynağa Gözat

feat: 添加info.php模版

runphp 6 ay önce
ebeveyn
işleme
adaa29c7d4
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7 0
      templates/info.php.tpl.php

+ 7 - 0
templates/info.php.tpl.php

@@ -0,0 +1,7 @@
+<?= "<?php\n" ?>
+declare(strict_types=1);
+
+return [
+    'id' => '<?= $id ?>',
+    'name' => '<?= $description ?>',
+];