nexmo-bundle/Utils/PhoneNumber.php

17 lines
315 B
PHP
Raw Permalink Normal View History

2014-03-30 22:20:02 +00:00
<?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);
}
}