Add AppMetadata API

- Load base app medata
- Optionally pre-load module metadata
- Add module metadata api
-- Load base module metadata
-- Load recently viewed
This commit is contained in:
Clemente Raposo 2022-02-04 12:25:17 +00:00
parent f5b5942412
commit b534e4f909
16 changed files with 1740 additions and 1 deletions

View file

@ -100,4 +100,16 @@ class ThemeImages
return $this;
}
/**
* @return array
*/
public function toArray(): array
{
return [
'id' => $this->getId(),
'_id' => $this->getId(),
'items' => $this->getItems(),
];
}
}