DriverInterface
interface DriverInterface
Methods
bool
create(array $params)
Create a new currency.
array
all()
Get all currencies.
mixed
find(string $code, int $active = 1)
Get given currency from storage.
int
delete($code)
Remove given currency from storage.
Details
at line 16
bool
create(array $params)
Create a new currency.
at line 23
array
all()
Get all currencies.
at line 33
mixed
find(string $code, int $active = 1)
Get given currency from storage.
at line 44
int
update(string $code, array $attributes, DateTime $timestamp = null)
Update given currency.
at line 53
int
delete($code)
Remove given currency from storage.