[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/config/ -> ResourceCheckerConfigCache.php (summary)

(no description)

File Size: 183 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ResourceCheckerConfigCache:: (6 methods):
  __construct()
  getPath()
  isFresh()
  write()
  getMetaFile()
  safelyUnserialize()


Class: ResourceCheckerConfigCache  - X-Ref

ResourceCheckerConfigCache uses instances of ResourceCheckerInterface
to check whether cached data is still fresh.

__construct($file, $resourceCheckers = [])   X-Ref

param: string                              $file             The absolute cache path
param: iterable|ResourceCheckerInterface[] $resourceCheckers The ResourceCheckers to use for the freshness check

getPath()   X-Ref
{@inheritdoc}


isFresh()   X-Ref
Checks if the cache is still fresh.

This implementation will make a decision solely based on the ResourceCheckers
passed in the constructor.

The first ResourceChecker that supports a given resource is considered authoritative.
Resources with no matching ResourceChecker will silently be ignored and considered fresh.

return: bool true if the cache is fresh, false otherwise

write($content, array $metadata = null)   X-Ref
Writes cache.

param: string              $content  The content to write in the cache
param: ResourceInterface[] $metadata An array of metadata

getMetaFile()   X-Ref
Gets the meta file path.

return: string The meta file path

safelyUnserialize($file)   X-Ref
No description



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1