浏览代码

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 ?>',
+];