Quellcode durchsuchen

feat: 添加info.php模版

runphp vor 6 Monaten
Ursprung
Commit
adaa29c7d4
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  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 ?>',
+];