public jsonSerialize ( ) : mixed | ||
return | mixed | data which can be serialized by json_encode, which is a value of any type other than a resource. |
public function jsonSerialize()
{
$meta = ['rid' => $this->getRid(), 'version' => $this->getVersion(), 'oClass' => $this->getOClass(), 'oData' => $this->getOData()];
return $meta;
}