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.

__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.

to_object()

Convert DTO to stdClass.

Details

in abstract_dto at line 38
array jsonSerialize()

Default implementation to serialize to JSON using the array representation.

Return Value

array

at line 32
__construct(int $id, string $classname, string $type, int $timestarted, string $hostname, int $pid, int $elapsed)

No description

Parameters

int $id
string $classname
string $type
int $timestarted
string $hostname
int $pid
int $elapsed

at line 54
array to_array()

Convert DTO to associative array.

Return Value

array

at line 70
stdClass to_object()

Convert DTO to stdClass.

Return Value

stdClass