Currency

 $🙃->currency->name; // UAE Dirham
 $🙃->currency->code; // TMT
 $🙃->currency->symbol; // $

# name

Retrieves a random currency name.

Usage

use Phonyland\Phony;

$🙃 = new Phony('en');

$🙃->currency->name;

Sample Outputs

"Serbian Dinar"
"Cuban Peso Peso Convertible"
"Rupiah"
"Guyana Dollar"
"New Taiwan Dollar"

# code

Retrieves a random currency code.

Usage

use Phonyland\Phony;

$🙃 = new Phony('en');

$🙃->currency->code;

Sample Outputs

"MNT"
"LBP"
"KMF"
"MMK"
"MGA"

# symbol

Retrieves a random currency symbol.

Usage

use Phonyland\Phony;

$🙃 = new Phony('en');

$🙃->currency->symbol;

Sample Outputs

"€"
"€"
"$"
"₪"
"kr"