[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 946fa9: Refactor Template class to lazy load the Twig Environment

Maurício Meneghini Fauth mauricio at fauth.dev
Wed May 31 02:18:19 CEST 2023


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 946fa9dd66d01524e91ee355fdcc541d12a08798
https://github.com/phpmyadmin/phpmyadmin/commit/946fa9dd66d01524e91ee355fdcc541d12a08798
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2023-05-30 (Tue, 05 May 2023) -03:00

Changed paths: 
M libraries/classes/Template.php
M test/classes/TemplateTest.php

Log Message:
-----------
Refactor Template class to lazy load the Twig Environment

Loads the Twig Environment class only when rendering a template
for the first time, not when constructing the Template object.

Signed-off-by: Maurício Meneghini Fauth <mauricio at fauth.dev>

Commit: 1e2114c8121e14bbe1727326ac3c2a55ffe50606
https://github.com/phpmyadmin/phpmyadmin/commit/1e2114c8121e14bbe1727326ac3c2a55ffe50606
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2023-05-30 (Tue, 05 May 2023) -03:00

Changed paths: 
M libraries/classes/Template.php
M test/classes/TemplateTest.php

Log Message:
-----------
Merge pull request #18468 from MauricioFauth/template-twig-env

Refactor Template class to lazy load the Twig Environment



More information about the Git mailing list