nexmo-bundle/Utils/PhoneNumber.php
2014-03-31 00:20:02 +02:00

17 lines
315 B
PHP

<?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);
}
}