diff --git a/src/Faker/Provider/ro_MD/Address.php b/src/Faker/Provider/ro_MD/Address.php new file mode 100644 index 00000000..c1c56980 --- /dev/null +++ b/src/Faker/Provider/ro_MD/Address.php @@ -0,0 +1,148 @@ +generator->parse($format); + } + + public function address() + { + $format = static::randomElement(static::$addressFormats); + + return $this->generator->parse($format); + } + + public function streetAddress() + { + $format = static::randomElement(static::$streetAddressFormats); + + return $this->generator->parse($format); + } +} diff --git a/src/Faker/Provider/ro_MD/Person.php b/src/Faker/Provider/ro_MD/Person.php new file mode 100644 index 00000000..c8509d22 --- /dev/null +++ b/src/Faker/Provider/ro_MD/Person.php @@ -0,0 +1,131 @@ +generator->parse($format); + } + + /** + * @example 'Ion' + */ + public static function firstNameMale() + { + return static::randomElement(static::$firstNameMale); + } + + /** + * @example 'Maria' + */ + public static function firstNameFemale() + { + return static::randomElement(static::$firstNameFemale); + } + + /** + * @example 'Popescu' + */ + public static function lastName() + { + return static::randomElement(static::$lastName); + } + + public static function prefixMale() + { + return static::randomElement(static::$prefixMale); + } + + public static function prefixFemale() + { + return static::randomElement(static::$prefixFemale); + } +} diff --git a/src/Faker/Provider/ro_MD/PhoneNumber.php b/src/Faker/Provider/ro_MD/PhoneNumber.php new file mode 100644 index 00000000..e226f01a --- /dev/null +++ b/src/Faker/Provider/ro_MD/PhoneNumber.php @@ -0,0 +1,33 @@ +