AdminMenuCacheRepository
in
Interface AdminMenuCacheRepositoryInterface
Table of Contents
- buildCache() : void
- Rebuilds the gambio admin menu cache file.
- deleteCache() : void
- Deletes the menu cache.
- getCache() : array<string|int, mixed>
- Provides cached gambio admin menu.
- hasCache() : bool
- Checks if admin menu cache file is available.
Methods
buildCache()
Rebuilds the gambio admin menu cache file.
public
buildCache(MenuGroups $groups, array<string|int, mixed> $menuData) : void
Parameters
- $groups : MenuGroups
- $menuData : array<string|int, mixed>
Return values
void —deleteCache()
Deletes the menu cache.
public
deleteCache() : void
Return values
void —getCache()
Provides cached gambio admin menu.
public
getCache() : array<string|int, mixed>
Return values
array<string|int, mixed> —hasCache()
Checks if admin menu cache file is available.
public
hasCache() : bool