public function getManifest($slug) { if (!is_null($slug)) { $path = $this->getManifestPath($slug); $contents = $this->files->get($path); $collection = collect(json_decode($contents, true)); return $collection; } }