src/Jit/ClassLoader.php
public function cached($file)
    {
        if (!$cachePath = $this->cachePath()) {
            return false;
        }
        $path = $cachePath . DS . ltrim(preg_replace('~:~', '', $file), DS);

        if (!@file_exists($path)) {
            return false;
        }

        $timestamp = filemtime($path);
        if ($timestamp > filemtime($file) && $timestamp > $this->_watchedTimestamp) {
            return $path;
        }
        return false;
    }
public function cached($file)
    {
        if (!$cachePath = $this->cachePath()) {
            return false;
        }
        $path = $cachePath . DS . ltrim(preg_replace('~:~', '', $file), DS);

        if (!@file_exists($path)) {
            return false;
        }

        $timestamp = filemtime($path);
        if ($timestamp > filemtime($file) && $timestamp > $this->_watchedTimestamp) {
            return $path;
        }
        return false;
    }
public function cached ( $ file ) { if ( ! $ cachePath = $ this -> cachePath ( ) ) { return false ; } $ path = $ cachePath . DS . ltrim ( preg_replace ( '~:~' , '' , $ file ) , DS ) ; if ( ! @ file_exists ( $ path ) ) { return false ; } $ timestamp = filemtime ( $ path ) ; if ( $ timestamp > filemtime ( $ file ) && $ timestamp > $ this -> _watchedTimestamp ) { return $ path ; } return false ; }
Gets a cached file path.

@param  string         $file The source file path.
@return string|boolean       The cached file path or `false` if the cached file is not valid
or is not cached.
Gets a cached file path .