mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
5194101f12
* 3.x: Refactor code Add some type hints Deprecate using ~ with + or - in an expression without using parentheses to clarify precedence Change some type hints to be more precise Deprecate not passing AbstractExpression args to most constructor arguments for classes extending AbstractExpression Remove obsolete method Add support for detecting if an expression had explicit parentheses Fix tests Unify error messages when a filter expects a mapping/sequence
Twig HTML Extension
This package is a Twig extension that provides the following:
-
data_urifilter: generates a URL using the data scheme as defined in RFC 2397; -
html_classesfunction: returns a string by conditionally joining class names together. -
html_cvafunction: returns aCvaobject to handle class variants.