New implementation of bundle

This commit is contained in:
Javier Hernández Gil
2014-03-31 00:20:02 +02:00
parent f01d7194fe
commit cae1a2f071
17 changed files with 619 additions and 199 deletions

17
Utils/PhoneNumber.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
namespace Jhg\NexmoBundle\Utils;
/**
* Class PhoneNumber
* @package Jhg\NexmoBundle\Utils
* @Author Javi Hernández
*/
class PhoneNumber {
/**
* @param $number
* @return mixed
*/
public static function prefixFilter($number) {
return str_ireplace('+','00',$number);
}
}