Add a new function for number formating
[MAILPOET-1526]
This commit is contained in:
@ -95,7 +95,12 @@ class Functions extends \Twig_Extension {
|
||||
'is_rtl',
|
||||
array($this, 'isRtl'),
|
||||
array('is_safe' => array('all'))
|
||||
)
|
||||
),
|
||||
new \Twig_SimpleFunction(
|
||||
'number_format_i18n',
|
||||
'number_format_i18n',
|
||||
array('is_safe' => array('all'))
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user