Returns or sets the page cache used for mapping message ids to translations.
public static cache ( array $cache = null ) : array | ||
$cache | array | A multidimensional array to use when pre-populating the cache. The structure of the array is `scope/locale/id`. If `false`, the cache is cleared. |
return | array | Returns an array of cached pages, formatted per the description for `$cache`. |