Class: \Conifer\Twig\NumberHelper
Twig Wrapper around generic filters for numbers
| Visibility | Function | 
|---|---|
| public | get_filters() : array an associative array of callback functions, keyed by name Get the Twig functions to register | 
| public | get_functions() : array Does not supply any additional Twig functions. | 
| public | us_phone(string $phone)</strong> : string the formatted phone number Filter any 10-digit number into a formatted US phone number digits (with an optional leading "1") or it won't filter anything. | 
This class implements \Conifer\Twig\HelperInterface