job_attempt_dto
class job_attempt_dto extends abstract_dto
DTO for creating job attempts.
Methods
array
jsonSerialize()
Default implementation to serialize to JSON using the array representation.
from
abstract_dto
__construct(int|null $id = null, int|null $jobid = null, int $attemptnumber = 1, string $transport = 'moodle_adhoc', string|null $runnerref = null, string $status = 'pending', int|null $startedat = null, int|null $finishedat = null, string|null $errortype = null, string|null $errormessage = null, string|null $resultdata = null, int $timecreated = 0)
No description
array
to_array()
No description
Details
in
abstract_dto at line 36
array
jsonSerialize()
Default implementation to serialize to JSON using the array representation.
at line 29
__construct(int|null $id = null, int|null $jobid = null, int $attemptnumber = 1, string $transport = 'moodle_adhoc', string|null $runnerref = null, string $status = 'pending', int|null $startedat = null, int|null $finishedat = null, string|null $errortype = null, string|null $errormessage = null, string|null $resultdata = null, int $timecreated = 0)
No description
at line 47
array
to_array()
No description