Skip to content

Commit 063e5c3

Browse files
committed
PHP API Ref: Factorize symfony_version in base.html.twig
1 parent 50994d5 commit 063e5c3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/php_api_ref/.phpdoc/template/base.html.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends 'layout.html.twig' %}
22

3+
{% set symfony_version = '5.4' %}
4+
35
{% block javascripts %}
46
{{ parent() }}
57

tools/php_api_ref/.phpdoc/template/class.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{% block content %}
44
{% include 'components/breadcrumbs.html.twig' %}
5-
{% include 'components/class-title.html.twig' with { symfony_version: '5.4' } %}
5+
{% include 'components/class-title.html.twig' with { symfony_version: symfony_version } %}
66
{% include('components/element-header.html.twig') %}
77
{% include 'components/constants.html.twig' %}
88
{% include 'components/properties.html.twig' %}

0 commit comments

Comments
 (0)