generator->parse($format)); } public function hamletPrefix() { return static::randomElement(static::$hamletPrefix); } public function wardName() { $format = static::randomElement(static::$wardNameFormats); return static::bothify($this->generator->parse($format)); } public function wardPrefix() { return static::randomElement(static::$wardPrefix); } public function districtName() { $format = static::randomElement(static::$districtNameFormats); return static::bothify($this->generator->parse($format)); } public function districtPrefix() { return static::randomElement(static::$districtPrefix); } /** * @example 'Hà Nội' */ public function city() { return static::randomElement(static::$city); } /** * @example 'Bắc Giang' */ public static function province() { return static::randomElement(static::$province); } }