public function setJsonContents($theme, array $content) { $content = json_encode($content, JSON_PRETTY_PRINT); return $this->files->put($this->getJsonPath($theme), $content); }