Swedish mobile number formats */ protected static array $mobileFormats = [ '+467########', '+46(0)7########', '+46 (0)7## ## ## ##', '+46 (0)7## ### ###', '07## ## ## ##', '07## ### ###', '07##-## ## ##', '07##-### ###', '07# ### ## ##', '07#-### ## ##', '07#-#######', ]; public function mobileNumber(): string { $format = static::randomElement(static::$mobileFormats); return self::numerify($this->generator->parse($format)); } }