$this->getId(), 'scope' => $this->getScope(), 'fileId' => $this->getFileId(), 'name' => $this->getName(), 'value' => $this->conditional_json_decode($this->getValue()), 'lastModified' => $this->getLastModified(), ]; } public function toService() { return [ 'name' => $this->getName(), 'value' => $this->conditional_json_decode($this->getValue()), ]; } }