src/Sasedev/Commons/SharedBundle/Validator/PhoneValidator.php
protected function validateNumber($value, $format)
	{
		$ret = preg_match($format, trim($value));
		
		return ($ret !== false && $ret >= 1);
	}
protected function validateNumber($value, $format)
	{
		$ret = preg_match($format, trim($value));
		
		return ($ret !== false && $ret >= 1);
	}
Validate Phonenumber

@param string $value
@param string $format

@return bool