Caffeinated\Modules\Repositories\Repository::getManifest PHP Метод

getManifest() публичный Метод

Get a module's manifest contents.
public getManifest ( string $slug ) : Collection | null
$slug string
Результат Collection | null
    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;
        }
    }