diff --git a/src/Faker/Provider/ru_RU/Address.php b/src/Faker/Provider/ru_RU/Address.php new file mode 100644 index 00000000..bf5a8a6f --- /dev/null +++ b/src/Faker/Provider/ru_RU/Address.php @@ -0,0 +1,150 @@ +generator->parse($format); + } + + public static function country() + { + return static::randomElement(static::$country); + } + + public static function postcode() + { + return strtoupper(static::bothify(static::randomElement(static::$postcode))); + } + + public static function regionSuffix() + { + return static::randomElement(static::$regionSuffix); + } + + public static function region() + { + return static::randomElement(static::$region); + } + + public static function cityPrefix() + { + return static::randomElement(static::$cityPrefix); + } + + public static function city() + { + return static::randomElement(static::$city); + } + + public static function streetPrefix() + { + return static::randomElement(static::$streetPrefix); + } + + public static function street() + { + return static::randomElement(static::$street); + } +} diff --git a/src/Faker/Provider/ru_RU/Person.php b/src/Faker/Provider/ru_RU/Person.php new file mode 100644 index 00000000..03ab9a92 --- /dev/null +++ b/src/Faker/Provider/ru_RU/Person.php @@ -0,0 +1,96 @@ +