PHP Класс Autarky\Config\Loaders\CachingYamlFileLoader

Наследование: extends YamlFileLoader
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$cacheDir string The directory in which to look for cached files.
$stat boolean Whether or not to check if cache files are outdated.

Открытые методы

Метод Описание
__construct ( Parser $parser, string $cacheDir, boolean $stat = true ) Constructor.
load ( $path )

Защищенные методы

Метод Описание
shouldLoadCache ( $path, $cachePath )

Описание методов

__construct() публичный метод

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

load() публичный метод

public load ( $path )

shouldLoadCache() защищенный метод

protected shouldLoadCache ( $path, $cachePath )

Описание свойств

$cacheDir защищенное свойство

The directory in which to look for cached files.
protected string $cacheDir
Результат string

$stat защищенное свойство

Whether or not to check if cache files are outdated.
protected bool $stat
Результат boolean