AddCommand
extends AbstractCommand
Table of Contents
Properties
-
$change
: Change|null
-
$createdDate
: DateTime
-
$field
: string
-
$taskId
: int
-
$userId
: int
Methods
-
hasValidChange()
: bool
-
hasValidCreatedDate()
: bool
-
hasValidField()
: bool
-
hasValidTaskId()
: bool
-
hasValidUserId()
: bool
-
setChange()
: self
-
setCreatedDate()
: self
-
setField()
: self
-
setTaskId()
: self
-
setUserId()
: self
-
validateAdd()
: void
$change
public
Change|null
$change
= null
$createdDate
public
DateTime
$createdDate
$field
public
string
$field
$taskId
public
int
$taskId
$userId
public
int
$userId
hasValidChange()
public
hasValidChange() : bool
hasValidCreatedDate()
public
hasValidCreatedDate() : bool
hasValidField()
public
hasValidField() : bool
hasValidTaskId()
public
hasValidTaskId() : bool
hasValidUserId()
public
hasValidUserId() : bool
setChange()
public
setChange(mixed $change) : self
Parameters
-
$change
: mixed
-
setCreatedDate()
public
setCreatedDate(mixed $createdDate) : self
Parameters
-
$createdDate
: mixed
-
setField()
public
setField(mixed $field) : self
Parameters
-
$field
: mixed
-
setTaskId()
public
setTaskId(mixed $taskId) : self
Parameters
-
$taskId
: mixed
-
setUserId()
public
setUserId(mixed $userId) : self
Parameters
-
$userId
: mixed
-
validateAdd()
public
validateAdd(string ...$skippedFields) : void
Parameters
-
$skippedFields
: string
-