Cache
in package
Table of Contents
Properties
- $cacheKey : string
- $cacheKeyWithEntry : string
- $systemCache : AdapterInterface
Methods
- getCacheKey() : string
- テンプレートキャッシュキーを取得
- isEnabled() : bool
- テンプレートキャッシュが有効か確認
- load() : string
- テンプレートキャッシュを取得
- put() : void
- テンプレートキャッシュを保存
Properties
$cacheKey
protected
string
$cacheKey
= ''
$cacheKeyWithEntry
protected
string
$cacheKeyWithEntry
= ''
$systemCache
protected
AdapterInterface
$systemCache
Methods
getCacheKey()
テンプレートキャッシュキーを取得
public
getCacheKey(string $path, string $theme[, bool $entry = false ]) : string
Parameters
- $path : string
- $theme : string
- $entry : bool = false
Return values
stringisEnabled()
テンプレートキャッシュが有効か確認
public
isEnabled() : bool
Return values
boolload()
テンプレートキャッシュを取得
public
load(string $path, string $theme) : string
Parameters
- $path : string
- $theme : string
Tags
Return values
stringput()
テンプレートキャッシュを保存
public
put(string $tpl) : void
Parameters
- $tpl : string