src/Bootstraps/LoadConfiguration.php
private function isCacheUpToDate()
    {
        if (!file_exists($this->cachedFile)) {
            return false;
        }

        $cacheTime  = filemtime($this->cachedFile);
        $configTime = max(filemtime($this->configPath), filemtime($this->envFile));

        return $cacheTime == $configTime;
    }
private function isCacheUpToDate()
    {
        if (!file_exists($this->cachedFile)) {
            return false;
        }

        $cacheTime  = filemtime($this->cachedFile);
        $configTime = max(filemtime($this->configPath), filemtime($this->envFile));

        return $cacheTime == $configTime;
    }
private function isCacheUpToDate ( ) { if ( ! file_exists ( $ this -> cachedFile ) ) { return false ; } $ cacheTime = filemtime ( $ this -> cachedFile ) ; $ configTime = max ( filemtime ( $ this -> configPath ) , filemtime ( $ this -> envFile ) ) ; return $ cacheTime == $ configTime ; }
Determine if the cached file is up to date with the configuration path.

@return bool
Determine if the cached file is up to date with the configuration path .