PHP 클래스 Autarky\Config\Loaders\CachingYamlFileLoader

상속: extends YamlFileLoader
파일 보기 프로젝트 열기: autarky/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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