src/CacheLoader.php
private function isValid($forceValidate)
    {
        if ($this->storage->exists() && $this->resources->isValid($this->storage->getLastWriteTime())) {
            return ($forceValidate || $this->isDebugging()) ? $this->validateManifest() : true;
        }

        return false;
    }
private function isValid($forceValidate)
    {
        if ($this->storage->exists() && $this->resources->isValid($this->storage->getLastWriteTime())) {
            return ($forceValidate || $this->isDebugging()) ? $this->validateManifest() : true;
        }

        return false;
    }
private function isValid ( $ forceValidate ) { if ( $ this -> storage -> exists ( ) && $ this -> resources -> isValid ( $ this -> storage -> getLastWriteTime ( ) ) ) { return ( $ forceValidate || $ this -> isDebugging ( ) ) ? $ this -> validateManifest ( ) : true ; } return false ; }
Checks if the cache is valid.

@param bool $forceValidate;

@return bool
Checks if the cache is valid .