Skip to content

Commit 7c86d9b

Browse files
committed
🆕 Describe constant value and type
1 parent e83707f commit 7c86d9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

data/templates/vuepress/struct-constant.md.twig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
{{ constant.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',}) }}
44

5+
```php
6+
{{ constant.name }} = {{ constant.value|raw }};
7+
```
8+
9+
**Type:** **`{{ constant.types|default(['mixed'])|sort_asc|join('`** | **`')}}`**
10+
511
### Description
612

713
{% if constant.description %}

0 commit comments

Comments
 (0)