]> git.mxchange.org Git - friendica.git/commit
Refactor template engine code
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 18 May 2020 05:18:41 +0000 (01:18 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 18 May 2020 05:18:41 +0000 (01:18 -0400)
commitc6ba92c43d664430d2471a0ce7ad727126199d80
tree50889698364755907c6c5fc780f0ecf3160a11f5
parent75a0b80888e54be6f9ed25b4a40e7a66b948dc07
Refactor template engine code

- Convert ITemplateEngine interface to abstract class
- Remove dependency to App in FriendicaSmarty and FriendicaSmartyEngine
- Normalize replaceMacro parameter behavior using Smarty template string prefixes
- Remove obsolete FriendicaSmarty->parsed method
- Update unused Smarty directory paths
src/Core/Renderer.php
src/Render/FriendicaSmarty.php
src/Render/FriendicaSmartyEngine.php
src/Render/ITemplateEngine.php [deleted file]
src/Render/TemplateEngine.php [new file with mode: 0644]
tests/Util/AppMockTrait.php