<?php
class Correios {
private $nome_do_user;
public function RecebeJson() {
$this->nome_do_user = "nome do usuário";
}
public function getUser() {
return $this->nome_do_user;
}
public function viewThis() {
}
}
$correios = new Correios();
$correios->RecebeJson();
echo $correios->getUser() . "\n";
$correios->viewThis();
PD9waHAKY2xhc3MgQ29ycmVpb3MgewogICAgcHJpdmF0ZSAkbm9tZV9kb191c2VyOwoKICAgIHB1YmxpYyBmdW5jdGlvbiBSZWNlYmVKc29uKCkgewogICAgICAgICR0aGlzLT5ub21lX2RvX3VzZXIgPSAibm9tZSBkbyB1c3XDoXJpbyI7CiAgICB9ICAgICAgIAoKICAgIHB1YmxpYyBmdW5jdGlvbiBnZXRVc2VyKCkgewogICAgICAgIHJldHVybiAkdGhpcy0+bm9tZV9kb191c2VyOwogICAgfQoKICAgIHB1YmxpYyBmdW5jdGlvbiB2aWV3VGhpcygpIHsKICAgICAgICB2YXJfZHVtcCgkdGhpcyk7CiAgICB9Cn0gICAKCiRjb3JyZWlvcyA9IG5ldyBDb3JyZWlvcygpOwokY29ycmVpb3MtPlJlY2ViZUpzb24oKTsKZWNobyAkY29ycmVpb3MtPmdldFVzZXIoKSAuICJcbiI7CiRjb3JyZWlvcy0+dmlld1RoaXMoKTs=