running_task_dto
final class running_task_dto extends abstract_dto
| internal |
Data Transfer Object for running tasks.
Represents both scheduled and adhoc tasks that are currently executing.
Methods
array
jsonSerialize()
Default implementation to serialize to JSON using the array representation.
from
abstract_dto
__construct(int $id, string $classname, string $type, int $timestarted, string $hostname, int $pid, int $elapsed)
No description
array
to_array()
Convert DTO to associative array.
Details
in
abstract_dto at line 38
array
jsonSerialize()
Default implementation to serialize to JSON using the array representation.
at line 32
__construct(int $id, string $classname, string $type, int $timestarted, string $hostname, int $pid, int $elapsed)
No description
at line 54
array
to_array()
Convert DTO to associative array.
at line 70
stdClass
to_object()
Convert DTO to stdClass.