Skip to content

Instantly share code, notes, and snippets.

@acidjazz
Created February 4, 2020 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acidjazz/00cdbd60d77c91bd2ad775a498156cb1 to your computer and use it in GitHub Desktop.
Save acidjazz/00cdbd60d77c91bd2ad775a498156cb1 to your computer and use it in GitHub Desktop.
<?php
class ProcessData {
private Object $json;
private Object $processed;
public function __construct($json)
{
$this->setJson($json);
}
public function getJson()
{
return $this->json;
}
public function getProcessed()
{
return $this->processed;
}
public function setJson($json)
{
$this->json = $json;
return $this;
}
public function setProcessed($processed)
{
$this->processed = $processed;
return $this;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment