[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ConfigCache:: (3 methods):
  __construct()
  __toString()
  isFresh()


Class: ConfigCache  - X-Ref

ConfigCache caches arbitrary content in files on disk.

When in debug mode, those metadata resources that implement
\Symfony\Component\Config\Resource\SelfCheckingResourceInterface will
be used to check cache freshness.

During a transition period, also instances of
\Symfony\Component\Config\Resource\ResourceInterface will be checked
by means of the isFresh() method. This behaviour is deprecated since 2.8
and will be removed in 3.0.

__construct($file, $debug)   X-Ref

param: string $file  The absolute cache path
param: bool   $debug Whether debugging is enabled or not

__toString()   X-Ref
Gets the cache file path.

return: string The cache file path

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

This implementation always returns true when debug is off and the
cache file exists.

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



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