Prado\Caching\TDirectoryCacheDependency::validateDirectory PHP Method

validateDirectory() protected method

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