<?php
namespace Claromentis\Projects\Format;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: array()) + array("_4d23892ff91" . "aa3195a85bb5" . "48a7f4333" => base64_decode("bG9jYWxpe" . "mVkX25hbW" . "U="), "_8dabb06efc95df4cff7c4af" . "e91857b53" => base64_decode("bm" . "Ft" . "ZQ" . "=="));
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Projects\Entity\TaskStatus;
class TaskStatusFormatter
{
    private Lmsg $lmsg;
    public function __construct(Lmsg $lmsg)
    {
        $this->lmsg = $lmsg;
    }
    public function ConvertTaskStatusesToArray(array $statuses) : array
    {
        $_c0a9aa7c975cc91a5930e8291a644789 = [];
        
        
        
        
        foreach ($statuses as $status) {
            $_c0a9aa7c975cc91a5930e8291a644789[] = $this->ConvertTaskStatusToArray($status);
        }
        return $_c0a9aa7c975cc91a5930e8291a644789;
    }
    public function ConvertTaskStatusToArray(TaskStatus $status)
    {
        $status = $status->toArray();
        $status[$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_4d23892ff91aa3195a85bb" . "548a7f4333"]] = $this->lmsg->lmsg_str($status[$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_8dabb06efc" . "95df4cff7c4" . "afe91857b53"]]);
        return $status;
    }
}