Documentation

Configuration extends Model
in package
uses HasFactory

Table of Contents

Properties

$casts  : mixed
$table  : mixed

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']

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>

isCustomerChatEnabled()

Check if customer chat widget is enabled.

public static isCustomerChatEnabled() : bool
Return values
bool

spamKeywords()

public static spamKeywords() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results