Message
in package
Tags
Table of Contents
- $chat : Chat|null
- $content : string|null
- $date : string
- $id : int|null
- $is_read : bool
- $user : Technicien|null
- __construct() : mixed
- getChat() : Chat|null
- getContent() : string|null
- getDate() : string
- getId() : int|null
- getIsRead() : bool|null
- getUser() : User|null
- isRead() : bool|null
- read() : mixed
- setChat() : self
- setContent() : self
- setDate() : self
- setIsRead() : self
- setUser() : self
Properties
$chat
private
Chat|null
$chat
Tags
$content
private
string|null
$content
Tags
$date
private
string
$date
Tags
$id
private
int|null
$id
Tags
$is_read
private
bool
$is_read
Tags
$user
private
Technicien|null
$user
Tags
Methods
__construct()
public
__construct(mixed $date, mixed $user, mixed $content[, mixed $is_read = true ]) : mixed
Parameters
- $date : mixed
- $user : mixed
- $content : mixed
- $is_read : mixed = true
Return values
mixed —getChat()
public
getChat() : Chat|null
Return values
Chat|null —getContent()
public
getContent() : string|null
Return values
string|null —getDate()
public
getDate() : string
Return values
string —getId()
public
getId() : int|null
Return values
int|null —getIsRead()
public
getIsRead() : bool|null
Return values
bool|null —getUser()
public
getUser() : User|null
Return values
User|null —isRead()
public
isRead() : bool|null
Return values
bool|null —read()
public
read() : mixed
Return values
mixed —setChat()
public
setChat(Chat|null $chat) : self
Parameters
- $chat : Chat|null
Return values
self —setContent()
public
setContent(string $content) : self
Parameters
- $content : string
Return values
self —setDate()
public
setDate(DateTimeInterface $date) : self
Parameters
- $date : DateTimeInterface
Return values
self —setIsRead()
public
setIsRead(bool $is_read) : self
Parameters
- $is_read : bool
Return values
self —setUser()
public
setUser(User|null $user) : self
Parameters
- $user : User|null