CustomerMemo
in package
Class CustomerMemo
Tags
Table of Contents
- $creationDate : DateTime
- $customerId : int
- $posterId : int
- $text : string
- __construct() : mixed
- CustomerMemo constructor.
- __toString() : string
- Converted instances returns a string with all properties.
- getCreationDate() : DateTime
- getCustomerId() : int
- getPosterId() : int
- getText() : string
Properties
$creationDate
protected
DateTime
$creationDate
$customerId
protected
int
$customerId
$posterId
protected
int
$posterId
$text
protected
string
$text
Methods
__construct()
CustomerMemo constructor.
public
__construct(IdType $customerId, StringType $text, DateTime $creationDate, IdType $posterId) : mixed
Parameters
- $customerId : IdType
- $text : StringType
- $creationDate : DateTime
- $posterId : IdType
Return values
mixed —__toString()
Converted instances returns a string with all properties.
public
__toString() : string
They are separated with an unix linebreak (\n).
Return values
string —getCreationDate()
public
getCreationDate() : DateTime
Return values
DateTime —getCustomerId()
public
getCustomerId() : int
Return values
int —getPosterId()
public
getPosterId() : int
Return values
int —getText()
public
getText() : string