protected static function getResourceElementCache() { if (self::$resourceElementCache === null) { self::$resourceElementCache = new FixedInMemoryCache(1000); } return self::$resourceElementCache; }