class BlogComment

Class BlogComment

Properties

protected int $id
protected string $content Blog comment content
protected DateTime|null $created_at Date when blog comment created
protected DateTime|null $approved_at Date when blog comment last updated
protected bool|null $status Status of blog comment, approved or not
protected string $name Name of user who created blog comment
protected string $mail Mail of user who created blog comment
protected BlogPost|null $blog_post Blog post for which is blog comment
protected User $user User who created blog comment
protected Image|null $userImage Base image url of user who created blog comment

Methods

int
getId()

No description

setId(int $id)

No description

string
getContent()

No description

setContent(string $content)

No description

DateTime|null
getCreatedAt()

No description

setCreatedAt(DateTime|null $created_at)

No description

DateTime|null
getApprovedAt()

No description

setApprovedAt(DateTime|null $approved_at)

No description

bool|null
isStatus()

No description

setStatus(boolean|null $status)

No description

getUser()

No description

setUser(User $user)

No description

string
getName()

No description

setName(string $name)

No description

string
getMail()

No description

setMail(string $mail)

No description

null|BlogPost
getBlogPost()

No description

setBlogPost(BlogPost|null $blog_post)

No description

Image|null
getUserImage()

No description

setUserImage(Image|null $userImage)

No description

Details

at line 148
int getId()

Return Value

int

at line 158
BlogComment setId(int $id)

Parameters

int $id

Return Value

BlogComment

at line 168
string getContent()

Return Value

string

at line 178
BlogComment setContent(string $content)

Parameters

string $content

Return Value

BlogComment

at line 188
DateTime|null getCreatedAt()

Return Value

DateTime|null

at line 198
BlogComment setCreatedAt(DateTime|null $created_at)

Parameters

DateTime|null $created_at

Return Value

BlogComment

at line 208
DateTime|null getApprovedAt()

Return Value

DateTime|null

at line 218
BlogComment setApprovedAt(DateTime|null $approved_at)

Parameters

DateTime|null $approved_at

Return Value

BlogComment

at line 228
bool|null isStatus()

Return Value

bool|null

at line 238
BlogComment setStatus(boolean|null $status)

Parameters

boolean|null $status

Return Value

BlogComment

at line 248
User getUser()

Return Value

User

at line 258
BlogComment setUser(User $user)

Parameters

User $user

Return Value

BlogComment

at line 268
string getName()

Return Value

string

at line 278
BlogComment setName(string $name)

Parameters

string $name

Return Value

BlogComment

at line 288
string getMail()

Return Value

string

at line 298
BlogComment setMail(string $mail)

Parameters

string $mail

Return Value

BlogComment

at line 308
null|BlogPost getBlogPost()

Return Value

null|BlogPost

at line 318
BlogComment setBlogPost(BlogPost|null $blog_post)

Parameters

BlogPost|null $blog_post

Return Value

BlogComment

at line 328
Image|null getUserImage()

Return Value

Image|null

at line 338
BlogComment setUserImage(Image|null $userImage)

Parameters

Image|null $userImage

Return Value

BlogComment