phoneNumber07WithSeparator(); $phoneNumber = str_replace(' ', '', $phoneNumber); return $phoneNumber; } /** * Only 073 to 079 are acceptable prefixes with 07 * * @see http://www.arcep.fr/index.php?id=8146 */ public function phoneNumber07WithSeparator() { $phoneNumber = $this->generator->numberBetween(3, 9); $phoneNumber .= $this->numerify('# ## ## ##'); return $phoneNumber; } /** * @example '0601020304' */ public static function mobileNumber() { return static::numerify(static::randomElement(static::$mobileFormats)); } }