TenantRepository
class TenantRepository extends Repository (View source)
Properties
Connection | $database | from Repository | |
protected string | $tableName | from Repository |
Methods
getTable(Repository $config)
No description
all($ids = [])
No description
find($tenant)
No description
findBy(string $key, $value)
No description
array
static array
decodeData(array $columns)
No description
static array
encodeData(array $data)
No description
static array
customColumns()
No description
static string
dataColumn()
No description
Details
__construct(Repository $config)
No description
table()
No description
getTable(Repository $config)
No description
__call($method, $parameters)
No description
all($ids = [])
No description
find($tenant)
No description
findBy(string $key, $value)
No description
updateTenant(Tenant $tenant)
No description
exists(Tenant $tenant)
No description
get(string $key, Tenant $tenant)
No description
getMany(array $keys, Tenant $tenant)
No description
put(string $key, $value, Tenant $tenant)
No description
putMany(array $kvPairs, Tenant $tenant)
No description
deleteMany(array $keys, Tenant $tenant)
No description
array
decodeFreshDataForTenant(Tenant $tenant)
No description
static array
decodeData(array $columns)
No description
insert(Tenant $tenant)
No description
static array
encodeData(array $data)
No description
static array
customColumns()
No description
static string
dataColumn()
No description