\Imi\HotUpdate\MonitorFileMTime

Summary

Methods
Properties
Constants
__construct()
isChanged()
getChangedFiles()
No public properties found
No constants found
init()
parseInitFile()
parseCheckFile()
$includePaths
$excludePaths
N/A
No private methods found
$files
$changedFiles
N/A

Properties

$includePaths

$includePaths : array

包含的路径

Type

array

$excludePaths

$excludePaths : array

排除的路径

Type

array

$files

$files : array

文件记录集合

Type

array

$changedFiles

$changedFiles : array

更改的文件们

Type

array

Methods

__construct()

__construct(array  $includePaths, array  $excludePaths = array()) 

构造方法

Parameters

array $includePaths

包含的路径

array $excludePaths

排除的路径

isChanged()

isChanged() : boolean

检测文件是否有更改

Returns

boolean

getChangedFiles()

getChangedFiles() : array

获取变更的文件们

Returns

array

init()

init() : void

初始化

parseInitFile()

parseInitFile(string  $fileName) : void

处理初始化文件

Parameters

string $fileName

parseCheckFile()

parseCheckFile(string  $fileName) : boolean

处理检查文件是否更改,返回是否更改

Parameters

string $fileName

Returns

boolean