metadata->get(['app', 'jsLibs'], []); } public function getAliasMap(): object { $map = (object) []; foreach ($this->metadata->get(['app', 'jsLibs'], []) as $key => $item) { $id = $item['amdId'] ?? null; if ($id) { $map->$id = 'lib!' . $key; } } return $map; } }