BooleanField
class BooleanField extends Field (View source)
Properties
protected string | $key | from Field | |
protected string | $label | from Field | |
protected string | $description | from Field | |
protected bool | $isRequired | from Field | |
protected string|null | $shortcut | from Field |
Methods
__construct(string $key, string $label, string $description)
No description
FieldInterface|null
loadFieldFromRequest(array $data)
No description
FieldInterface|null
loadFieldFromConsoleInput(InputInterface $consoleInput)
No description
from
Field
jsonSerialize()
No description
Details
__construct(string $key, string $label, string $description)
No description
in
Field at line 53
string
getKey()
No description
in
Field at line 61
string
getLabel()
No description
in
Field at line 69
string
getDescription()
No description
in
Field at line 74
string|null
getShortcut()
No description
in
Field at line 79
bool
isValid(FieldInterface $loadedField)
No description
FieldInterface|null
loadFieldFromRequest(array $data)
No description
in
Field at line 93
FieldInterface|null
loadFieldFromConsoleInput(InputInterface $consoleInput)
No description
in
Field at line 112
bool
isRequired()
No description
jsonSerialize()
No description
addToCommand(TaskCommand $command)
No description