Filesystem
class Filesystem extends AbstractDriver
Properties
protected array | $config | Driver config |
from AbstractDriver |
protected Filesystem | $filesystem | Database manager instance. |
Methods
__construct(array $config)
Create a new driver instance.
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 22
__construct(array $config)
Create a new driver instance.
in
AbstractDriver at line 35
protected mixed
config(string $key, mixed $default = null)
Get configuration value.
at line 32
bool
create(array $params)
Create a new currency.
at line 65
array
all()
Get all currencies.
at line 81
mixed
find(string $code, int $active = 1)
Get given currency from storage.
at line 96
int
update(string $code, array $attributes, DateTime $timestamp = null)
Update given currency.
at line 123
int
delete($code)
Remove given currency from storage.