Cms\Classes\CmsObjectCache

Overview

CmsObjectCache provides a simple request-level cache for CMS objects


Protected Properties

protected static array $cache

cache collection


Public Methods

public static flush()

public static flush(): void

public static lookup()

public static lookup($instance, $fileName): void

Protected Methods

protected static get()

protected static get($cacheKey): Cms\Classes\CmsObject|null 

protected static has()

protected static has($cacheKey): bool 

protected static makeCacheKey()

protected static makeCacheKey($instance, $fileName): string 

makeCacheKey makes a unique key for this object

protected static put()

protected static put($cacheKey, $obj): void