LoadReport
in package
FinalYes
What the last `Config::load()` did: which document, whether it was there, and whether the compiled cache served or stored it. For diagnostics (`cooper-config check`), never needed to read the configuration itself.
Table of Contents
Properties
- $cacheFile : string|null
- $file : string
- $found : bool
- $fromCache : bool
Methods
- __construct() : mixed
Properties
$cacheFile read-only
public
string|null
$cacheFile
$file read-only
public
string
$file
$found read-only
public
bool
$found
$fromCache read-only
public
bool
$fromCache
Methods
__construct()
public
__construct(string $file, bool $found, bool $fromCache, string|null $cacheFile) : mixed
Parameters
- $file : string
-
the document, as an absolute path
- $found : bool
-
false when the default document is missing and the configuration is empty
- $fromCache : bool
-
true when the compiled cache served the configuration without reading the document
- $cacheFile : string|null
-
the compiled file that served or now holds this configuration; null when there is none