\think\template\driverFile

Summary

Methods
Properties
Constants
write()
read()
check()
No public properties found
No constants found
No protected methods found
$cacheFile
N/A
No private methods found
No private properties found
N/A

Properties

$cacheFile

$cacheFile

Methods

write()

write(string  $cacheFile, string  $content) : void

写入编译缓存

Parameters

string $cacheFile

缓存的文件名

string $content

缓存的内容

read()

read(string  $cacheFile, array  $vars = []) : void

读取编译编译

Parameters

string $cacheFile

缓存的文件名

array $vars

变量数组

check()

check(string  $cacheFile, int  $cacheTime) : bool

检查编译缓存是否有效

Parameters

string $cacheFile

缓存的文件名

int $cacheTime

缓存时间

Returns

bool —