Better switching of Smarty versions
Using composer to load PHPTAL, additionally also Smarty and Twig
Let Twig template end with .html.twig
Beauty CSSes
typo
Doc comment reviewed
Helpful doc comments
Unnecessary key in foreach statement
Consistency of returned values
Blank line in doc comment, and typo
Clear coding for flexibility
Unnecessary variable initialization
@throws added