HasTenancy
trait HasTenancy (View source)
Properties
protected Provider|null | $tenantBillingProvider | ||
protected string | $tenantBillingRouteSlug | ||
protected bool|Closure | $hasTenantMenu | ||
protected string|null | $tenantRoutePrefix | ||
protected string|null | $tenantDomain | ||
protected string|null | $tenantModel | ||
protected string|null | $tenantProfilePage | ||
protected string|null | $tenantRegistrationPage | ||
protected string|null | $tenantSlugAttribute | ||
protected string|null | $tenantOwnershipRelationshipName | ||
protected MenuItem[] | $tenantMenuItems | ||
protected bool | $isTenantSubscriptionRequired |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
HasTenancy
requiresTenantSubscription(bool $condition = true)
No description
HasTenancy
tenantMenuItems(array $items)
No description
HasTenancy
tenantMenu(bool|Closure $condition = true)
No description
HasTenancy
tenant(string|null $model, string|null $slugAttribute = null, string|null $ownershipRelationship = null)
No description
HasTenancy
tenantRoutePrefix(string|null $prefix)
No description
HasTenancy
tenantDomain(string|null $domain)
No description
HasTenancy
tenantBillingProvider(Provider|null $provider)
No description
HasTenancy
tenantBillingRouteSlug(string $slug)
No description
HasTenancy
tenantProfile(string|null $page)
No description
HasTenancy
tenantRegistration(string|null $page)
No description
bool
hasTenancy()
No description
bool
isTenantSubscriptionRequired()
No description
bool
hasTenantBilling()
No description
bool
hasTenantProfile()
No description
bool
hasTenantRegistration()
No description
bool
hasTenantRoutePrefix()
No description
string|null
getTenantRoutePrefix()
No description
bool
hasTenantDomain()
No description
string|null
getTenantDomain()
No description
Provider|null
getTenantBillingProvider()
No description
string
getTenantBillingRouteSlug()
No description
string|null
getTenantProfilePage()
No description
string|null
getTenantRegistrationPage()
No description
Model
getTenant(string $key)
No description
string|null
getTenantModel()
No description
string|null
getTenantSlugAttribute()
No description
string|null
getTenantBillingUrl(Model $tenant, array $parameters = [])
No description
string|null
getTenantProfileUrl(array $parameters = [])
No description
string|null
getTenantRegistrationUrl(array $parameters = [])
No description
bool
hasTenantMenu()
No description
array
getTenantMenuItems()
No description
string
getTenantOwnershipRelationshipName()
No description