[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ConfigCache:: (5 methods):
  __construct()
  __toString()
  isFresh()
  write()
  getMetaFile()


Class: ConfigCache  - X-Ref

ConfigCache manages PHP cache files.

When debug is enabled, it knows when to flush the cache
thanks to an array of ResourceInterface instances.

__construct($file, $debug)   X-Ref
Constructor.

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 method always returns true when debug is off and the
cache file exists.

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 ResourceInterface instances

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

return: string The meta file path



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1