ProductGroupResource
extends JsonResource
in package
WHMCS ProductGroup resource
WHMCS Tables:
- tblproductgroups
Table of Contents
- $created_at : DateTime
- $group_slug : string
- $headline : string
- $hidden : bool
- $id : int
- $name : string
- $preserveKeys : mixed
- $slug : string
- $tagline : string
- $updated_at : DateTime
- __construct() : mixed
- toArray() : array<string|int, mixed>
- with() : array<string|int, mixed>
Properties
$created_at
public
DateTime
$created_at
$group_slug
public
string
$group_slug
$headline
public
string
$headline
$hidden
public
bool
$hidden
$id
public
int
$id
$name
public
string
$name
$preserveKeys
public
mixed
$preserveKeys
= true
$slug
public
string
$slug
$tagline
public
string
$tagline
$updated_at
public
DateTime
$updated_at
Methods
__construct()
public
__construct(mixed $resource) : mixed
Parameters
- $resource : mixed
Return values
mixed —toArray()
public
toArray(mixed $request) : array<string|int, mixed>
Parameters
- $request : mixed
Return values
array<string|int, mixed> —with()
public
with( $request) : array<string|int, mixed>