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); } }