Table of Contents
-
$categories
: Collection
-
$categoryOrder
: int|null
-
$Icon
: string|null
-
$id
: int|null
-
$name
: string|null
-
$parent
: self|null
-
$products
: Collection
-
$slug
: mixed
-
__construct()
: mixed
-
addCategory()
: self
-
addProduct()
: self
-
getCategories()
: Collection<int, self>
-
getCategoryOrder()
: int|null
-
getIcon()
: string|null
-
getId()
: int|null
-
getName()
: string|null
-
getParent()
: self|null
-
getProducts()
: Collection<int, Products>
-
getSlug()
: string|null
-
removeCategory()
: self
-
removeProduct()
: self
-
setCategoryOrder()
: self
-
setIcon()
: self
-
setName()
: self
-
setParent()
: self
-
setSlug()
: self
$categories
private
Collection
$categories
$categoryOrder
private
int|null
$categoryOrder
= null
$Icon
private
string|null
$Icon
= null
$id
private
int|null
$id
= null
$name
private
string|null
$name
= null
$parent
private
self|null
$parent
= null
$products
private
Collection
$products
$slug
private
mixed
$slug
__construct()
public
__construct() : mixed
Return values
mixed
—
addCategory()
public
addCategory(self $category) : self
Parameters
-
$category
: self
-
Return values
self
—
addProduct()
public
addProduct(Products $product) : self
Parameters
-
$product
: Products
-
Return values
self
—
getCategories()
public
getCategories() : Collection<int, self>
Return values
Collection<int, self>
—
getCategoryOrder()
public
getCategoryOrder() : int|null
Return values
int|null
—
getIcon()
public
getIcon() : string|null
Return values
string|null
—
getId()
public
getId() : int|null
Return values
int|null
—
getName()
public
getName() : string|null
Return values
string|null
—
getParent()
public
getParent() : self|null
Return values
self|null
—
getProducts()
public
getProducts() : Collection<int, Products>
Return values
Collection<int, Products>
—
getSlug()
public
getSlug() : string|null
Return values
string|null
—
removeCategory()
public
removeCategory(self $category) : self
Parameters
-
$category
: self
-
Return values
self
—
removeProduct()
public
removeProduct(Products $product) : self
Parameters
-
$product
: Products
-
Return values
self
—
setCategoryOrder()
public
setCategoryOrder(int $categoryOrder) : self
Parameters
-
$categoryOrder
: int
-
Return values
self
—
setIcon()
public
setIcon(string $Icon) : self
Parameters
-
$Icon
: string
-
Return values
self
—
setName()
public
setName(string $name) : self
Parameters
-
$name
: string
-
Return values
self
—
setParent()
public
setParent(self|null $parent) : self
Parameters
-
$parent
: self|null
-
Return values
self
—
setSlug()
public
setSlug(string $slug) : self
Parameters
-
$slug
: string
-
Return values
self
—