[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




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

(no description)

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

Defines 1 class

ResourceCheckerConfigCache:: (5 methods):

Class: ResourceCheckerConfigCache  - X-Ref

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

__construct($file, array $resourceCheckers = array()   X-Ref

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

getPath()   X-Ref

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

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1