PHP Class Autarky\Config\Loaders\CachingYamlFileLoader

Inheritance: extends YamlFileLoader
Afficher le fichier Open project: autarky/framework

Protected Properties

Свойство 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.

Méthodes publiques

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

Méthodes protégées

Méthode Description
shouldLoadCache ( $path, $cachePath )

Method Details

__construct() public méthode

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

load() public méthode

public load ( $path )

shouldLoadCache() protected méthode

protected shouldLoadCache ( $path, $cachePath )

Property Details

$cacheDir protected_oe property

The directory in which to look for cached files.
protected string $cacheDir
Résultat string

$stat protected_oe property

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