Comment
class Comment extends Comment implements PrimaryKeyInterface
BaseComment
Properties
| protected string | $content | Comment content | from Comment |
| protected string | $status | Comment status. One of the predefined(new or seen) | from Comment |
| protected DateTime | $createdAt | Date when comment was created | from Comment |
| protected DateTime | $updatedAt | Date when comment was last updated | from Comment |
| protected string | $baseFileUrl | Url of uploaded file. NULL if file not uploaded | from Comment |
| protected File | $file | File uploaded with comment(image, pdf,. | from Comment |
| protected User | $user | User that created comment. Can't be null | from Comment |
| protected Ticket | $ticket | Ticket for which comment is created. Can't be null | from Comment |
| protected Order | $order | Order for which comment is created | from Comment |
Methods
integer
getId()
Get id
Details
in Comment at line 180
string
getContent()
in Comment at line 200
string
getStatus()
in Comment at line 232
mixed
getCreatedAt()
in Comment at line 252
mixed
getUpdatedAt()
in Comment at line 280
mixed
getFile()
in Comment at line 300
string|null
getBaseFileUrl()
at line 47
Comment
setId(int $id)
at line 59
integer
getId()
Get id