caching\FileDependency generateDependencyData()

generateDependencyData() protected method

Generates the data needed to determine if dependency has been changed.

This method returns the file's last modification time.

protected mixed generateDependencyData ( $cache )
$cache yii\caching\Cache

The cache component that is currently evaluating this dependency

return mixed

The data needed to determine if dependency has been changed.

throws yii\base\InvalidConfigException

if $fileName is not set

doc_Yii
2016-10-30 16:54:08
Comments
Leave a Comment

Please login to continue.