Documentation

Currency
in package
implements Currency, JsonSerializable

Tags
ORM\Table

(name="currency")

ORM\Entity

(repositoryClass="Vatjar\Data\Repository\CurrencyRepository") Class Currency

Table of Contents

Interfaces

Currency
JsonSerializable

Properties

$countries  : array<string|int, Country>|null|Collection
$decimals  : int|null
$engName  : string|null
$id  : int|null
$symbolHex  : string|null
$three  : string|null

Methods

getCountries()  : Collection|array<string|int, Country>|null
getDecimals()  : int|null
getEngName()  : string|null
getId()  : int|null
getIsoCode3()  : string
getSymbolHex()  : string|null
getThree()  : string|null
jsonSerialize()  : mixed
setCountries()  : void
setDecimals()  : void
setEngName()  : void
setId()  : void
setSymbolHex()  : void
setThree()  : void

Properties

$countries

private array<string|int, Country>|null|Collection $countries
Tags
ORM\OneToMany

(targetEntity="Country", mappedBy="currency")

ORM\JoinColumn

(name="id", referencedColumnName="currency_id")

$decimals

private int|null $decimals
Tags
ORM\Column

(type="smallint", name="decimals")

$engName

private string|null $engName
Tags
ORM\Column

(type="string", name="eng_name")

$id

private int|null $id
Tags
ORM\GeneratedValue

()

ORM\Id

()

ORM\Column

(type="integer")

$symbolHex

private string|null $symbolHex
Tags
ORM\Column

(type="string", name="symbol_hex")

$three

private string|null $three
Tags
ORM\Column

(type="string", name="three")

Methods

getCountries()

public getCountries() : Collection|array<string|int, Country>|null
Return values
Collection|array<string|int, Country>|null

getDecimals()

public getDecimals() : int|null
Return values
int|null

getEngName()

public getEngName() : string|null
Return values
string|null

getId()

public getId() : int|null
Return values
int|null

getIsoCode3()

public getIsoCode3() : string
Return values
string

$isoCode3

getSymbolHex()

public getSymbolHex() : string|null
Return values
string|null

getThree()

public getThree() : string|null
Return values
string|null

jsonSerialize()

public jsonSerialize() : mixed

setCountries()

public setCountries(Collection|array<string|int, Country>|null $countries) : void
Parameters
$countries : Collection|array<string|int, Country>|null

setDecimals()

public setDecimals(int|null $decimals) : void
Parameters
$decimals : int|null

setEngName()

public setEngName(string|null $engName) : void
Parameters
$engName : string|null

setId()

public setId(int|null $id) : void
Parameters
$id : int|null

setSymbolHex()

public setSymbolHex(string|null $symbolHex) : void
Parameters
$symbolHex : string|null

setThree()

public setThree(string|null $three) : void
Parameters
$three : string|null

        
On this page

Search results