summaryrefslogtreecommitdiff
path: root/src/JsonManifestParser.php
blob: 9293af1f19893fc13a2457d315bd0f12ace56a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

namespace Lightscale\LaralightAssets;

use Lightscale\LaralightAssets\Contracts\ManifestParser;

class JsonManifestParser implements ManifestParser
{
    public function parse(string $data): array
    {
        return json_decode($data, true);
    }
}