Hello all,
I’m now looking for this code sniped and… I’m wondering does this makes any sense?
$mensagem['nome'] = $dadosCriados->name;
$mensagem['dataCriacao'] = $dadosCriados->crDate;
$mensagem['identificador'] = $dadosCriadosExtensao->roid;
$dominioVo->setNome($dadosCriados->name);
$dominioVo->setNumeroProcesso($dadosCriadosExtensao->roid);
return $mensagem;
I mean, I’m storing some data into an array, that later will be echoed on the view.
But since I’m using a value object, why can’t I, instead of storing those into an array, just set that data. Then, on our view, we can get that data and echo it.
yes? ![]()
Thanks in advance,
Márcio