PHP Class Autarky\Config\Loaders\CachingYamlFileLoader

Inheritance: extends YamlFileLoader
Datei anzeigen Open project: autarky/framework

Protected Properties

Property Type Description
$cacheDir string The directory in which to look for cached files.
$stat boolean Whether or not to check if cache files are outdated.

Public Methods

Method Description
__construct ( Parser $parser, string $cacheDir, boolean $stat = true ) Constructor.
load ( $path )

Protected Methods

Method Description
shouldLoadCache ( $path, $cachePath )

Method Details

__construct() public method

Constructor.
public __construct ( Parser $parser, string $cacheDir, boolean $stat = true )
$parser Symfony\Component\Yaml\Parser
$cacheDir string
$stat boolean

load() public method

public load ( $path )

shouldLoadCache() protected method

protected shouldLoadCache ( $path, $cachePath )

Property Details

$cacheDir protected_oe property

The directory in which to look for cached files.
protected string $cacheDir
return string

$stat protected_oe property

Whether or not to check if cache files are outdated.
protected bool $stat
return boolean