ajouter id et pid à RunFile
This commit is contained in:
parent
090a54e307
commit
5da28fc142
|
@ -39,6 +39,8 @@ class RunFile {
|
||||||
$dateStart = $withDateStart? new DateTime(): null;
|
$dateStart = $withDateStart? new DateTime(): null;
|
||||||
return [
|
return [
|
||||||
"name" => $this->name,
|
"name" => $this->name,
|
||||||
|
"id" => bin2hex(random_bytes(16)),
|
||||||
|
"pid" => posix_getpid(),
|
||||||
"serial" => 0,
|
"serial" => 0,
|
||||||
"date_start" => $dateStart,
|
"date_start" => $dateStart,
|
||||||
"date_stop" => null,
|
"date_stop" => null,
|
||||||
|
|
Loading…
Reference in New Issue