Table of Contents
-
$categories
: Categories|null
-
$created_at
: DateTimeImmutable|null
-
$description
: string|null
-
$id
: int|null
-
$images
: Collection
-
$name
: string|null
-
$ordersDetails
: Collection
-
$prix
: int|null
-
$slug
: mixed
-
$stock
: int|null
-
__construct()
: mixed
-
addImage()
: self
-
addOrdersDetail()
: self
-
getCategories()
: Categories|null
-
getCreatedAt()
: DateTimeImmutable|null
-
getDescription()
: string|null
-
getId()
: int|null
-
getImages()
: Collection<int, Images>
-
getName()
: string|null
-
getOrdersDetails()
: Collection<int, OrdersDetails>
-
getPrix()
: int|null
-
getSlug()
: string|null
-
getStock()
: int|null
-
removeImage()
: self
-
removeOrdersDetail()
: self
-
setCategories()
: self
-
setCreatedAt()
: self
-
setDescription()
: self
-
setName()
: self
-
setPrix()
: self
-
setSlug()
: self
-
setStock()
: self
$categories
private
Categories|null
$categories
= null
$created_at
private
DateTimeImmutable|null
$created_at
= null
$description
private
string|null
$description
= null
$id
private
int|null
$id
= null
$images
private
Collection
$images
$name
private
string|null
$name
= null
$ordersDetails
private
Collection
$ordersDetails
$prix
private
int|null
$prix
= null
$slug
private
mixed
$slug
$stock
private
int|null
$stock
= null
__construct()
public
__construct() : mixed
Return values
mixed
—
addImage()
public
addImage(Images $image) : self
Parameters
-
$image
: Images
-
Return values
self
—
addOrdersDetail()
public
addOrdersDetail(OrdersDetails $ordersDetail) : self
Parameters
-
$ordersDetail
: OrdersDetails
-
Return values
self
—
getCategories()
public
getCategories() : Categories|null
Return values
Categories|null
—
getCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null
—
getDescription()
public
getDescription() : string|null
Return values
string|null
—
getId()
public
getId() : int|null
Return values
int|null
—
getImages()
public
getImages() : Collection<int, Images>
Return values
Collection<int, Images>
—
getName()
public
getName() : string|null
Return values
string|null
—
getOrdersDetails()
public
getOrdersDetails() : Collection<int, OrdersDetails>
Return values
Collection<int, OrdersDetails>
—
getPrix()
public
getPrix() : int|null
Return values
int|null
—
getSlug()
public
getSlug() : string|null
Return values
string|null
—
getStock()
public
getStock() : int|null
Return values
int|null
—
removeImage()
public
removeImage(Images $image) : self
Parameters
-
$image
: Images
-
Return values
self
—
removeOrdersDetail()
public
removeOrdersDetail(OrdersDetails $ordersDetail) : self
Parameters
-
$ordersDetail
: OrdersDetails
-
Return values
self
—
setCategories()
public
setCategories(Categories|null $categories) : self
Parameters
-
$categories
: Categories|null
-
Return values
self
—
setCreatedAt()
public
setCreatedAt(DateTimeImmutable $created_at) : self
Parameters
-
$created_at
: DateTimeImmutable
-
Return values
self
—
setDescription()
public
setDescription(string $description) : self
Parameters
-
$description
: string
-
Return values
self
—
setName()
public
setName(string $name) : self
Parameters
-
$name
: string
-
Return values
self
—
setPrix()
public
setPrix(int $prix) : self
Parameters
-
$prix
: int
-
Return values
self
—
setSlug()
public
setSlug(string $slug) : self
Parameters
-
$slug
: string
-
Return values
self
—
setStock()
public
setStock(int $stock) : self
Parameters
-
$stock
: int
-
Return values
self
—