private function isCacheUpToDate($cachedFile, $templateFile)
    {
        if (!file_exists($cachedFile)) {
            return false;
        }

        $cacheTime = filemtime($cachedFile);
        $templTime = filemtime($templateFile);

        return $cacheTime == $templTime;
    }
private function isCacheUpToDate($cachedFile, $templateFile)
    {
        if (!file_exists($cachedFile)) {
            return false;
        }

        $cacheTime = filemtime($cachedFile);
        $templTime = filemtime($templateFile);

        return $cacheTime == $templTime;
    }
private function isCacheUpToDate ( $ cachedFile , $ templateFile ) { if ( ! file_exists ( $ cachedFile ) ) { return false ; } $ cacheTime = filemtime ( $ cachedFile ) ; $ templTime = filemtime ( $ templateFile ) ; return $ cacheTime == $ templTime ; }
Determine if the cached file is up to date with the template.

@param string $cachedFile
@param string $templateFile
@return bool
Determine if the cached file is up to date with the template .