Explorar o código

feat: 添加info.php模版

runphp hai 6 meses
pai
achega
adaa29c7d4
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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 ?>',
+];