for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Propaganistas\LaravelPhone\Exceptions;
use libphonenumber\NumberParseException as libNumberParseException;
class NumberParseException extends libNumberParseException
{
/**
* Country specification required static constructor.
*
* @param string $number
* @return static
*/
public static function countryRequired($number)
return new static(
libNumberParseException::INVALID_COUNTRY_CODE,
'Country specification for number "' . $number . '" required.'
);
}