Configuration
extends Model
in package
uses
HasFactory
Table of Contents
Properties
Methods
- getConfiguration() : mixed
- getCustomerChatConfig() : array<string|int, mixed>
- Get customer chat widget configuration.
- getSiteContext() : mixed
- homePageId() : mixed
- isCustomerChatEnabled() : bool
- Check if customer chat widget is enabled.
- spamKeywords() : array<string|int, mixed>
- uiTheme() : mixed
Properties
$casts
protected
mixed
$casts
= ['configuration' => 'array']
$table
protected
mixed
$table
= 'configuration'
Methods
getConfiguration()
public
static getConfiguration(string $key) : mixed
Parameters
- $key : string
getCustomerChatConfig()
Get customer chat widget configuration.
public
static getCustomerChatConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>getSiteContext()
public
static getSiteContext() : mixed
homePageId()
public
static homePageId() : mixed
isCustomerChatEnabled()
Check if customer chat widget is enabled.
public
static isCustomerChatEnabled() : bool
Return values
boolspamKeywords()
public
static spamKeywords() : array<string|int, mixed>
Return values
array<string|int, mixed>uiTheme()
public
static uiTheme() : mixed