TaskMixer
Table of Contents
Methods
-
__construct()
: mixed
-
addPlaceholder()
: self
-
getErrors()
: ErrorCollection
-
getReplacedData()
: array<string|int, mixed>
-
isSuccess()
: bool
__construct()
public
__construct(int $templateId, array<string|int, mixed> $taskData) : mixed
Parameters
-
$templateId
: int
-
-
$taskData
: array<string|int, mixed>
-
addPlaceholder()
public
addPlaceholder(string $key, mixed $value) : self
Parameters
-
$key
: string
-
-
$value
: mixed
-
getErrors()
public
getErrors() : ErrorCollection
Return values
ErrorCollection
getReplacedData()
public
getReplacedData() : array<string|int, mixed>
Return values
array<string|int, mixed>
isSuccess()
public
isSuccess() : bool