HipsterJazzbo\Landlord\TenantManager::modelTenants PHP Method

modelTenants() protected method

Get the tenantColumns that are actually applicable to the given model, in case they've been manually specified.
protected modelTenants ( Model $model ) : Collection
$model Illuminate\Database\Eloquent\Model
return Illuminate\Support\Collection
    protected function modelTenants(Model $model)
    {
        return $this->tenants->only($model->getTenantColumns());
    }