add function to format phonenumber using twilio (if configured)

This commit is contained in:
2019-10-30 22:56:53 +01:00
parent 87a01e4ab3
commit 241815e687
4 changed files with 118 additions and 1 deletions

View File

@@ -4,6 +4,12 @@ services:
$logger: '@Psr\Log\LoggerInterface'
$config: '%chill_main.phone_helper%'
$cachePool: '@cache.user_data'
Chill\MainBundle\Phonenumber\Templating:
arguments:
$phonenumberHelper: '@Chill\MainBundle\Phonenumber\PhonenumberHelper'
tags:
- { name: twig.extension }
Chill\MainBundle\Validation\Validator\ValidPhonenumber:
arguments: