Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
HipsterJazzbo
Landlord
TenantManager
removeTenant
HipsterJazzbo\Landlord\TenantManager::removeTenant PHP Method
TenantManager Class Documentation
Mostra file
Open project: HipsterJazzbo/Landlord
removeTenant()
public
method
Remove a tenant so that queries are no longer scoped by it.
public
removeTenant
(
string
|
Model
$tenant
)
$tenant
string
|
Illuminate\Database\Eloquent\Model
public function removeTenant($tenant) { $this->tenants->pull($this->getTenantKey($tenant)); }
TenantManager
__construct
addTenant
applyTenantScopes
disable
enable
getTenantKey
getTenants
hasTenant
modelTenants
newModel
newQueryWithoutTenants
removeTenant