ProductPhoto
in package
ProductPhoto
Tags
Table of Contents
Properties
- $type : mixed
- $createdAt : DateTime
- $id : int
- $photo : string
- $product : mixed
Methods
- getCreatedAt() : DateTime
- Get createdAt
- getId() : int
- getPhoto() : string
- getProduct() : mixed
- getType() : string
- Get type
- setCreatedAt() : ProductPhoto
- Set createdAt
- setId() : mixed
- setPhoto() : mixed
- setProduct() : mixed
Properties
$type
protected
mixed
$type
$createdAt
private
DateTime
$createdAt
Tags
$id
private
int
$id
Tags
$photo
private
string
$photo
Tags
$product
private
mixed
$product
Tags
Methods
getCreatedAt()
Get createdAt
public
getCreatedAt() : DateTime
Return values
DateTimegetId()
public
getId() : int
Return values
intgetPhoto()
public
getPhoto() : string
Return values
stringgetProduct()
public
getProduct() : mixed
getType()
Get type
public
getType() : string
Return values
stringsetCreatedAt()
Set createdAt
public
setCreatedAt(DateTime $createdAt) : ProductPhoto
Parameters
- $createdAt : DateTime
Return values
ProductPhotosetId()
public
setId(int $id) : mixed
Parameters
- $id : int
setPhoto()
public
setPhoto(string $photo) : mixed
Parameters
- $photo : string
setProduct()
public
setProduct(mixed $product) : mixed
Parameters
- $product : mixed