Comment
Table of Contents
- $command : string
- $comment : string
- $commentRaw : string
- $extra : array<string|int, mixed>
- $section : string
- $translatable : mixed
- getCommand() : string
- Get the value of command.
- getComment() : string
- Get the value of Comment.
- getCommentRaw() : string
- Get the value of commentRaw.
- getExtra() : array<string|int, mixed>
- Get the value of Extra.
- getSection() : string
- Get the value of Section.
- getTranslatable() : bool|null
- setCommand() : self
- Set the value of command.
- setComment() : self
- Set the value of Comment.
- setCommentRaw() : self
- Set the value of commentRaw.
- setExtra() : self
- Set the value of Extra.
- setSection() : self
- Set the value of Section.
- setTranslatable() : self
Properties
$command
private
string
$command
= ''
Tags
$comment
private
string
$comment
Tags
$commentRaw
private
string
$commentRaw
Tags
$extra
private
array<string|int, mixed>
$extra
= []
Tags
$section
private
string
$section
Tags
$translatable
private
mixed
$translatable
= false
Tags
Methods
getCommand()
Get the value of command.
public
getCommand() : string
Return values
string —getComment()
Get the value of Comment.
public
getComment() : string
Return values
string —getCommentRaw()
Get the value of commentRaw.
public
getCommentRaw() : string
Return values
string —getExtra()
Get the value of Extra.
public
getExtra() : array<string|int, mixed>
Return values
array<string|int, mixed> —getSection()
Get the value of Section.
public
getSection() : string
Return values
string —getTranslatable()
public
getTranslatable() : bool|null
Return values
bool|null —setCommand()
Set the value of command.
public
setCommand(string $command) : self
Parameters
- $command : string
Return values
self —setComment()
Set the value of Comment.
public
setComment(string $comment) : self
Parameters
- $comment : string
Return values
self —setCommentRaw()
Set the value of commentRaw.
public
setCommentRaw(string $commentRaw) : self
Parameters
- $commentRaw : string
Return values
self —setExtra()
Set the value of Extra.
public
setExtra(array<string|int, mixed> $extra) : self
Parameters
- $extra : array<string|int, mixed>
Return values
self —setSection()
Set the value of Section.
public
setSection(string $section) : self
Parameters
- $section : string
Return values
self —setTranslatable()
public
setTranslatable(bool $translatable) : self
Parameters
- $translatable : bool