瀏覽代碼

feat: 添加info.php模版

runphp 6 月之前
父節點
當前提交
adaa29c7d4
共有 1 個文件被更改,包括 7 次插入0 次删除
  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 ?>',
+];