Browse Source

feat: 添加info.php模版

runphp 6 tháng trước cách đây
mục cha
commit
adaa29c7d4
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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 ?>',
+];