public function checksum() { // create an array with the data we want to add to a checksum $checksumData = array($this->started, $this->id, $this->name, $this->data); // create the checksum and return it return md5(json_encode($checksumData)); }