Documentation

CountryExtension extends Extension

An extension is the only way to add new functionality to Faker.

Tags
experimental

This interface is experimental and does not fall under our BC promise

Table of Contents

country()  : string

Methods

country()

public country() : string
Tags
example

'Japan'

Return values
string

Search results