| 1 | <?php |
||
| 18 | class ManifestReader |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var |
||
| 23 | */ |
||
| 24 | private $mixManifest; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var |
||
| 28 | */ |
||
| 29 | private $vasriManifest; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * ManifestReader constructor. |
||
| 33 | */ |
||
| 34 | public function __construct() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $file |
||
| 42 | * |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | private function jsonFileToArray(string $file): array |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return array |
||
| 52 | * @throws Exception |
||
| 53 | */ |
||
| 54 | public function getMixManifest(): array |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return array |
||
| 65 | * @throws Exception |
||
| 66 | */ |
||
| 67 | public function getVasriManifest(): array |
||
| 75 | |||
| 76 | } |
||
| 77 |