Prado\Caching\TDirectoryCacheDependency::validateFile PHP Method

validateFile() protected method

This method is invoked when dependency of the whole directory is being checked. By default, it always returns true, meaning the file should be checked. You may override this method to check only certain files.
protected validateFile ( $fileName ) : boolean
return boolean whether this file should be checked.
    protected function validateFile($fileName)
    {
        return true;
    }